File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ jobs:
124124 run : |
125125 VER=$(cat build/VERSION)
126126 echo "VERSION=$VER" >> $GITHUB_ENV
127+ GITVER=$(cat build/GIT_TAG_VERSION)
128+ echo "GIT_TAG_VERSION=$GITVER" >> $GITHUB_ENV
127129
128130 - name : Upload installer as build artifact
129131 uses : actions/upload-artifact@v4
@@ -135,8 +137,8 @@ jobs:
135137 - name : Upload release assets
136138 if : github.event_name == 'release'
137139 run : |
138- mv build/cadabra2-${{ env.VERSION }}-win64.msi build/cadabra2-${{ env.VERSION }}-windows-${{ matrix.name }}.msi
139- gh release upload "${{ env.GIT_TAG_VERSION }}" build/cadabra2-${{ env.VERSION }}-windows-${{ matrix.name }}.msi --clobber
140+ mv build/cadabra2-${{ env.VERSION }}-win64.msi build/cadabra2-${{ env.GIT_TAG_VERSION }}-windows-${{ matrix.name }}.msi
141+ gh release upload "${{ env.GIT_TAG_VERSION }}" build/cadabra2-${{ env.GIT_TAG_VERSION }}-windows-${{ matrix.name }}.msi --clobber
140142 env :
141143 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
142144
You can’t perform that action at this time.
0 commit comments