Skip to content

Commit

Permalink
remove leading zero from calver in windows build only (merge commit)
Browse files Browse the repository at this point in the history
Merge branch 'fix/windows-leading-zero-bug' into 'main'
* remove leading zero from calver in windows build only

See merge request https://gitlab.ci.csc.fi/sds-dev/sd-submit/sda-uploader/-/merge_requests/55

Approved-by: Stefan Negru <[email protected]>
Co-authored-by: Teemu Kataja <[email protected]>
Merged by Teemu Kataja <[email protected]>
  • Loading branch information
teemukataja committed Feb 6, 2024
2 parents 34691d3 + d5f07dd commit be50bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit be50bc4

Please sign in to comment.