Skip to content

Commit

Permalink
Update publish.yml (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jun 9, 2024
1 parent e1be25e commit 8a0dd6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ jobs:
- name: Publish new tag
if: steps.check_pypi.outputs.increment == 'True'
run: |
COMMIT_MESSAGE=$(git log -1 --pretty=%B)
git config --global user.name "UltralyticsAssistant"
git config --global user.email "[email protected]"
git tag -a "v${{ steps.check_pypi.outputs.version }}" -m "$COMMIT_MESSAGE"
git tag -a "v${{ steps.check_pypi.outputs.version }}" -m "$(git log -1 --pretty=%B)" # i.e. "v0.1.2 commit message"
git push origin "v${{ steps.check_pypi.outputs.version }}"
- name: Publish to PyPI
continue-on-error: true
Expand Down

0 comments on commit 8a0dd6b

Please sign in to comment.