File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 5
5
branches : main
6
6
types : [published]
7
7
workflow_dispatch :
8
- inputs :
9
- tag :
10
- description : " Which tag to update to"
11
- default : " v1"
12
- required : true
13
8
14
9
jobs :
15
10
re-tag :
@@ -18,12 +13,12 @@ jobs:
18
13
- uses : actions/checkout@v3
19
14
with :
20
15
fetch-depth : 0
21
- ref : " main"
16
+ ref : main
22
17
- name : update tag
23
18
run : |
24
19
git config user.name 'github-actions'
25
20
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
26
- git tag --delete ${{ inputs.tag }} || true
27
- git push --delete origin ${{ inputs.tag }} || true
28
- git tag -a ${{ inputs.tag }} -m '🔖 Re-tag ${{ inputs.tag }} '
29
- git push origin ${{ inputs.tag }}
21
+ git tag --delete v1 || true
22
+ git push --delete origin v1 || true
23
+ git tag -a v1 -m '🔖 Re-tag v1 '
24
+ git push origin v1
You can’t perform that action at this time.
0 commit comments