File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11name : Update Main Version
2- run-name : Move ${{ github.event.inputs.main_version }} to ${{ github.event.inputs.target }}
2+ run-name : Move ${{ github.event.inputs.major_version }} to ${{ github.event.inputs.target }}
33
44on :
55 workflow_dispatch :
66 inputs :
77 target :
88 description : The tag or reference to use
99 required : true
10- main_version :
10+ major_version :
1111 type : choice
12- description : The main version to update
12+ description : The major version to update
1313 options :
1414 - v3
15+ - v2
1516
1617jobs :
1718 tag :
2526 git config user.name github-actions
2627 git config user.email [email protected] 2728 - name : Tag new target
28- run : git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }}
29+ run : git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }}
2930 - name : Push new tag
30- run : git push origin ${{ github.event.inputs.main_version }} --force
31+ run : git push origin ${{ github.event.inputs.major_version }} --force
You can’t perform that action at this time.
0 commit comments