Skip to content

Commit

Permalink
feat(gha): add tag 'latest'
Browse files Browse the repository at this point in the history
  • Loading branch information
Windemiatrix committed May 29, 2024
1 parent 0ffebfb commit 109f8aa
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/move-latest-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Move Latest Tag

on:
release:
types: [created]

jobs:
move-latest-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Git
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
- name: Move the latest tag
run: |
git tag -fa latest -m "Update latest tag"
git push -f origin latest

0 comments on commit 109f8aa

Please sign in to comment.