File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ jobs:
1414 - name : Checkout
1515 uses : actions/checkout@v2
1616
17- # - name: Bump version
18- # run: >-
19- # bin/bump_version.py
20-
21- # - name: Commit updated version.py
22- # id: commit_updated
23- # run: |
24- # git config --global user.name 'github-actions'
25- # git config --global user.email 'bot@noreply.github.com'
26- # git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
27- # git add setup.py
28- # git commit -m "bump version" && git push || echo "No changes to commit"
29- # git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
17+ - name : Bump version
18+ run : >-
19+ bin/bump_version.py
20+
21+ - name : Commit updated version.py
22+ id : commit_updated
23+ run : |
24+ git config --global user.name 'github-actions'
25+ git config --global user.email 'bot@noreply.github.com'
26+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
27+ git add setup.py
28+ git commit -m "bump version" && git push || echo "No changes to commit"
29+ git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
3030
3131 - name : Get version
3232 id : get_version
You can’t perform that action at this time.
0 commit comments