forked from Lyken17/pytorch-OpCounter
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1be25e
commit 8a0dd6b
Showing
1 changed file
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|