mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 05:31:25 +00:00
Update main_matrix.yml
This commit is contained in:
parent
ea90e4d2de
commit
64f852e3f7
6
.github/workflows/main_matrix.yml
vendored
6
.github/workflows/main_matrix.yml
vendored
@ -474,17 +474,17 @@ jobs:
|
|||||||
asset_name: debug-elfs-${{ steps.version.outputs.version }}.zip
|
asset_name: debug-elfs-${{ steps.version.outputs.version }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
- name: Bump version
|
- name: Bump version.properties
|
||||||
run: >-
|
run: >-
|
||||||
bin/bump_version.py
|
bin/bump_version.py
|
||||||
|
|
||||||
- name: Commit updated version.py
|
- name: Commit updated version.properties
|
||||||
id: commit_updated
|
id: commit_updated
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'thebentern'
|
git config --global user.name 'thebentern'
|
||||||
git config --global user.email 'benmmeadors@gmail.com'
|
git config --global user.email 'benmmeadors@gmail.com'
|
||||||
git remote set-url origin https://x-access-token:${{ secrets.ARTIFACTS_TOKEN }}@github.com/${{ github.repository }}
|
git remote set-url origin https://x-access-token:${{ secrets.ARTIFACTS_TOKEN }}@github.com/${{ github.repository }}
|
||||||
git add version.properties
|
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}'
|
git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user