Commit cd6a9fd 1 parent 24cb908 commit cd6a9fd Copy full SHA for cd6a9fd
File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : 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 }}
3
3
4
4
on :
5
5
workflow_dispatch :
6
6
inputs :
7
7
target :
8
8
description : The tag or reference to use
9
9
required : true
10
- main_version :
10
+ major_version :
11
11
type : choice
12
- description : The main version to update
12
+ description : The major version to update
13
13
options :
14
14
- v3
15
+ - v2
15
16
16
17
jobs :
17
18
tag :
25
26
git config user.name github-actions
26
27
git config user.email github-actions@github.com
27
28
- 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 }}
29
30
- 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