Skip to content

Commit

Permalink
Update main_matrix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored Aug 12, 2022
1 parent ea90e4d commit 64f852e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,17 +474,17 @@ jobs:
asset_name: debug-elfs-${{ steps.version.outputs.version }}.zip
asset_content_type: application/zip

- name: Bump version
- name: Bump version.properties
run: >-
bin/bump_version.py
- name: Commit updated version.py
- name: Commit updated version.properties
id: commit_updated
run: |
git config --global user.name 'thebentern'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.ARTIFACTS_TOKEN }}@github.com/${{ github.repository }}
git add version.properties
git commit -m "Bump version" && git push || echo "No changes to commit"
git commit -m "Bump version" && git push -f || echo "No changes to commit"
git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'

0 comments on commit 64f852e

Please sign in to comment.