Skip to content

Commit

Permalink
Harden release pipeline logic
Browse files Browse the repository at this point in the history
- Support release tags that are prepended with 'v', or without
  • Loading branch information
rukmal committed Oct 4, 2022
1 parent 98a2b54 commit b17628b
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 @@ -20,7 +20,7 @@ jobs:
python-version: "3.10"
# See: https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
- name: Get version number from git tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v?}" >> $GITHUB_ENV # See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- name: Install toml-cli to modify toml file
# See: https://pypi.org/project/toml-cli/
run: |
Expand Down

0 comments on commit b17628b

Please sign in to comment.