From 94a941b474fbdbf43bc3c83b6ffa199938418156 Mon Sep 17 00:00:00 2001 From: Lilith Song Date: Sun, 27 Aug 2023 01:59:07 -0400 Subject: [PATCH] fix a fuckup in the build flow --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 984f98a7..a22e0ec3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,11 +84,12 @@ jobs: retention-days: 14 - name: Tag run: | - buildVersion=$(jq -j .AssemblyVersion "${{ env.INTERNAL_NAME }}/bin/${{ env.CONFIGURATION }}/${{ env.INTERNAL_NAME }}/${{ env.INTERNAL_NAME }}.json") - git tag -am "[Automated build $buildVersion]" "v$buildVersion" - git push origin "v$buildVersion" + git tag -am "[Automated build $BUILD_VERSION]" "$TAG_NAME" + git push origin "$TAG_NAME" shell: bash env: + BUILD_VERSION: ${{ needs.precheck.outputs.buildVersion }} + TAG_NAME: ${{ needs.precheck.outputs.tagName }} GIT_AUTHOR_NAME: GitHub Action GIT_COMMITTER_NAME: GitHub Action GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com