Explorar o código

fix branch name script

Cliff Colvin %!s(int64=2) %!d(string=hai) anos
pai
achega
40625e2f66
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .github/workflows/build-and-publish-release.yml

+ 2 - 1
.github/workflows/build-and-publish-release.yml

@@ -26,7 +26,8 @@ jobs:
       - name: Make Branch Name
       - name: Make Branch Name
         id: branch
         id: branch
         run: |
         run: |
-          echo "BRANCH_NAME=v${${{ inputs.release_version}}%.*}" >> $GITHUB_ENV
+          VERSION_NUMBER=${{ inputs.release_version }}
+          echo "BRANCH_NAME=v${VERSION_NUMBER%.*}" >> $GITHUB_ENV
   
   
       - name: Checkout Repo
       - name: Checkout Repo
         uses: actions/checkout@v4
         uses: actions/checkout@v4