We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5ae40c commit d9e92a8Copy full SHA for d9e92a8
1 file changed
.github/workflows/release_windows_installer.yml
@@ -28,8 +28,11 @@ jobs:
28
conda info
29
conda env export
30
- name: Get Version
31
- id: get_version
32
- uses: battila7/get-version-action@v2
+ shell: bash -l {0}
+ run: |
33
+ echo "INSTALLER_VERSION=$(grep '^VERSION' ./contrib/Installer/mtfg-ofs-extension-installer.py | cut -d '=' -f 2 | sed 's/\"//g' | sed 's/ //g')" >> $GITHUB_ENV
34
+ - name: Print Version
35
+ run: echo $INSTALLER_VERSION
36
- name: Build Installer
37
shell: bash -l {0}
38
working-directory: ./contrib/Installer
@@ -40,7 +43,7 @@ jobs:
40
43
with:
41
44
repo_token: ${{ secrets.GITHUB_TOKEN }}
42
45
file: ./contrib/Installer/dist/mtfg-ofs-extension-installer.exe
- asset_name: mtfg-ofs-extension-installer.exe
46
+ asset_name: mtfg-ofs-extension-installer-${{env.INSTALLER_VERSION}}.exe
47
tag: ${{ github.ref }}
48
overwrite: true
49
0 commit comments