From f04f1c9234e383c8a37767d8362df95bcb998823 Mon Sep 17 00:00:00 2001 From: kasramp Date: Sun, 30 Apr 2023 20:16:12 +0200 Subject: [PATCH] #25 bug fix --- .github/workflows/build_and_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index eceb72b..1a7d186 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -38,7 +38,7 @@ jobs: - name: Set last commit shell: bash run: | - echo "LAST_COMMIT=$(git log -n 1)" >> $GITHUB_OUTPUT + echo "LAST_COMMIT=$(git log -n 1)" >> "$GITHUB_OUTPUT" id: version - name: Tag shell: bash @@ -56,7 +56,7 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} shell: bash run: | - echo "TAGGED_VERSION=$(git for-each-ref --sort=-creatordate --format='%(refname:short)' refs/tags --count 10 | grep -oP '^eris-(\d+).*' | head -1)" >> $GITHUB_OUTPUT + echo "TAGGED_VERSION=$(git for-each-ref --sort=-creatordate --format='%(refname:short)' refs/tags --count 10 | grep -oP '^eris-(\d+).*' | head -1)" >> "$GITHUB_OUTPUT" - name: Perform release uses: ncipollo/release-action@v1 if: ${{ github.ref == 'refs/heads/master' }}