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 only from first instance, which is always the month number

See merge request https://gitlab.ci.csc.fi/sds-dev/crypt4gh-gui/-/merge_requests/27

Approved-by: Stefan Negru <[email protected]>
Co-authored-by: Teemu Kataja <[email protected]>
Merged by Stefan Negru <[email protected]>
  • Loading branch information
blankdots committed Feb 6, 2024
2 parents 9d3235b + 10cc8f6 commit cb6ff0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
shell: bash
run: |
TAG=${{ github.ref_name }}
VERSION=${TAG#v}
VERSION=${TAG/.0*./.${TAG:6:1}.} # remove leading zero for windows version
create-version-file versionfile.yml --outfile file_version_info.txt --version $VERSION
pyinstaller --noconsole --onefile crypt4gh_gui.py --name ${{ matrix.asset_name }} --version-file file_version_info.txt
- name: Create temporary certificate file
Expand Down

0 comments on commit cb6ff0c

Please sign in to comment.