We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9e11e commit 4aa2117Copy full SHA for 4aa2117
1 file changed
.github/workflows/release.yaml
@@ -0,0 +1,28 @@
1
+---
2
+name: Update Tag
3
+
4
+on:
5
+ release:
6
+ types:
7
+ - published
8
9
+env:
10
+ TAG_NAME: latest
11
12
+jobs:
13
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: write
17
+ steps:
18
+ - name: Checkout source
19
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
20
+ with:
21
+ fetch-depth: 0
22
23
+ - name: Update latest tag
24
+ run: |-
25
+ git config user.name github-actions
26
+ git config user.email [email protected]
27
+ git tag --force ${{ env.TAG_NAME }} ${{ github.sha }}
28
+ git push origin ${{ env.TAG_NAME }} --force
0 commit comments