diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index beec472..f20f9f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,7 +93,7 @@ jobs: shell: bash run: | TAG=${{ github.ref_name }} - VERSION=${TAG#v} + VERSION=${TAG//.0/.} # remove leading zero for windows version create-version-file versionfile_gui.yml --outfile file_version_info.txt --version $VERSION pyinstaller --noconsole --onefile sdagui.py --name ${{ matrix.asset_name }} --version-file file_version_info.txt - name: Create temporary certificate file @@ -188,7 +188,7 @@ jobs: shell: bash run: | TAG=${{ github.ref_name }} - VERSION=${TAG#v} + VERSION=${TAG//.0/.} # remove leading zero for windows version create-version-file versionfile_cli.yml --outfile file_version_info.txt --version $VERSION pyinstaller --onefile sdacli.py --name ${{ matrix.asset_name }} --version-file file_version_info.txt - name: Create temporary certificate file