-
Notifications
You must be signed in to change notification settings - Fork 167
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
26f024d
commit 2d4be34
Showing
2 changed files
with
14 additions
and
14 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 |
---|---|---|
|
@@ -14,19 +14,19 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Bump version | ||
run: >- | ||
bin/bump_version.py | ||
- name: Commit updated version.py | ||
id: commit_updated | ||
run: | | ||
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
git add setup.py | ||
git commit -m "bump version" && git push || echo "No changes to commit" | ||
git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}' | ||
#- name: Bump version | ||
# run: >- | ||
# bin/bump_version.py | ||
|
||
#- name: Commit updated version.py | ||
# id: commit_updated | ||
# run: | | ||
# git config --global user.name 'github-actions' | ||
# git config --global user.email '[email protected]' | ||
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
# git add setup.py | ||
# git commit -m "bump version" && git push || echo "No changes to commit" | ||
# git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}' | ||
|
||
- name: Get version | ||
id: get_version | ||
|
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