From c62dd2ff3972954d04cccce2e012e59349f0015e Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 29 Dec 2023 02:36:29 +0100 Subject: [PATCH] Fix pre-release check --- .forgejo/workflows/build+release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index 852dd7e..5c7fe56 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -95,7 +95,7 @@ jobs: https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/chellaris-rust-api-linux-amd64 - name: Upload Debian Package to main - if: ! ${{ github.ref_name }} | grep -qi '\-rc' + if: ! echo ${{ github.ref_name }} | grep -qi '\-rc' run: | source release_blobs/build.env echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \ @@ -106,7 +106,7 @@ jobs: https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/bookworm/main/upload - name: Upload Debian Package to staging - if: ${{ github.ref_name }} | grep -qi '\-rc' + if: echo ${{ github.ref_name }} | grep -qi '\-rc' run: | source release_blobs/build.env echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \