Skip to content

Commit a2c75b4

Browse files
author
Kasper Peeters
committed
Fix naming of windows installer.
1 parent 854c5c3 commit a2c75b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/windows.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)