mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat(ci): Use gh release edit to retag releases (#3421)
This commit is contained in:
parent
f09b522f97
commit
be0d4cdff4
1 changed files with 5 additions and 2 deletions
|
|
@ -98,15 +98,18 @@ jobs:
|
|||
|
||||
- name: Create and push new tag
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
git tag ${{ steps.calculate_tags.outputs.tag_to_process }}
|
||||
git push origin ${{ steps.calculate_tags.outputs.tag_to_process }}
|
||||
|
||||
- name: Create and push final tag
|
||||
if: ${{ !inputs.dry_run && inputs.channel != 'internal' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
git tag ${{ steps.calculate_tags.outputs.final_tag }} ${{ steps.calculate_tags.outputs.tag_to_process }}
|
||||
git push origin ${{ steps.calculate_tags.outputs.final_tag }}
|
||||
gh release edit ${{ steps.calculate_tags.outputs.tag_to_process }} --tag ${{ steps.calculate_tags.outputs.final_tag }} --title "${{ steps.calculate_tags.outputs.release_name }}"
|
||||
|
||||
call-release-workflow:
|
||||
if: ${{ !inputs.dry_run && inputs.channel == 'internal' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue