File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,19 @@ jobs:
2626 conda info
2727 conda env export
2828 - name : Get Version
29- id : get_version
30- uses : battila7/get-version-action@v2
29+ shell : bash -l {0}
30+ run : |
31+ echo "INSTALLER_VERSION=$(grep '^VERSION' ./contrib/Installer/mtfg-ofs-extension-installer.py | cut -d '=' -f 2 | sed 's/\"//g' | sed 's/ //g')" >> $GITHUB_ENV
32+ - name : Print Version
33+ run : echo $INSTALLER_VERSION
3134 - name : Build Installer
3235 shell : bash -l {0}
3336 working-directory : ./contrib/Installer
3437 run : |
3538 pyinstaller --add-data="assets/*;./" --noupx --onefile mtfg-ofs-extension-installer.py
3639 - uses : actions/upload-artifact@v2
3740 with :
38- name : mtfg-ofs-extension-installer.exe
41+ name : mtfg-ofs-extension-installer-${{INSTALLER_VERSION}} .exe
3942 path : ./contrib/Installer/dist/mtfg-ofs-extension-installer.exe
4043 retention-days : 7
4144
You can’t perform that action at this time.
0 commit comments