GH Actions: Update Release action, clarify versioning (#5794)

This commit is contained in:
Austin
2025-01-08 21:43:24 -05:00
committed by GitHub
parent 33e5a04508
commit 8aac9f2e8e
11 changed files with 67 additions and 98 deletions

View File

@@ -22,12 +22,16 @@ jobs:
- name: Run Trunk Fmt
run: trunk fmt
- name: Get release version string
run: echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
id: version
- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Add firmware version ${{ steps.version.outputs.version }}"
git commit -m "Add firmware version ${{ steps.version.outputs.long }}"
git push
- name: Comment on PR