Skip to content

Commit

Permalink
Update version_update_and_zip_on_release.yml (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuffy2 authored Dec 28, 2024
1 parent 0828862 commit 527fd6d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/version_update_and_zip_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.event.release.target_commitish }}
message: 'Updating to version ${{ github.ref_name }}'

- name: Extract variables from const.py
- name: Update Release with Version Changes Commit
if: ${{ github.event_name == 'release' && github.event.release.draft == false && github.event.release.prerelease == false }}
run: |
git tag -f ${{ github.ref_name }}
git push -f origin ${{ github.ref_name }}
- name: Extract Firmware Variables from const.py
if: ${{ github.event_name == 'release' && github.event.release.draft == false }}
id: extract_variables
run: |
Expand Down

0 comments on commit 527fd6d

Please sign in to comment.