File tree 5 files changed +17
-17
lines changed
5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
- name : Release > Promote LTS
1
+ name : 0. Release > Promote LTS
2
2
3
3
on :
4
4
workflow_dispatch :
Original file line number Diff line number Diff line change 1
- name : Release > Beta
1
+ name : 0. Release > Beta
2
2
3
3
on :
4
4
workflow_dispatch :
46
46
run : |
47
47
echo "Releases may only be performed from the main branch."
48
48
exit 1
49
- - name : Make sure git user is setup
50
- run : |
51
- git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
52
- git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
53
49
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
54
50
with :
55
51
fetch-tags : true
58
54
fetch-depth : 3
59
55
ref : beta
60
56
- run : git fetch origin main --depth=1
57
+ - name : Make sure git user is setup
58
+ run : |
59
+ git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
60
+ git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
61
61
- name : Get last beta version from package.json
62
62
if : github.event.inputs.kind == 'mirror'
63
63
uses : sergeysova/jq-action@v2
Original file line number Diff line number Diff line change 1
- name : Release > Canary
1
+ name : 0. Release > Canary
2
2
3
3
on :
4
4
workflow_dispatch :
Original file line number Diff line number Diff line change 1
- name : Release > LTS
1
+ name : 0. Release > LTS
2
2
3
3
on :
4
4
workflow_dispatch :
@@ -34,17 +34,17 @@ jobs:
34
34
run : |
35
35
echo "Releases may only be performed from the main branch."
36
36
exit 1
37
- - name : Make sure git user is setup
38
- run : |
39
- git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
40
- git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
41
37
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
42
38
with :
43
39
fetch-tags : true
44
40
progress : false
45
41
token : ${{ secrets.GH_DEPLOY_TOKEN }}
46
42
fetch-depth : 3
47
43
ref : ${{ github.event.inputs.source-branch }}
44
+ - name : Make sure git user is setup
45
+ run : |
46
+ git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
47
+ git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
48
48
- uses : ./.github/actions/setup
49
49
with :
50
50
install : true
Original file line number Diff line number Diff line change 1
- name : Release > Stable
1
+ name : 0. Release > Stable
2
2
3
3
on :
4
4
workflow_dispatch :
58
58
run : |
59
59
echo "Releases may only be performed from the main branch."
60
60
exit 1
61
- - name : Make sure git user is setup
62
- run : |
63
- git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
64
- git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
65
61
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
66
62
with :
67
63
fetch-tags : true
71
67
ref : release
72
68
# # Ensure we have a copy of the source branch
73
69
- run : git fetch origin ${{ github.event.inputs.source-branch }} --depth=1
70
+ - name : Make sure git user is setup
71
+ run : |
72
+ git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
73
+ git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
74
74
- name : Reset the Release Branch
75
75
if : github.event.inputs.source-branch != 'release' && (github.event.inputs.is-cycle-start == 'true' || github.event.inputs.from-version != null)
76
76
run : git reset --hard origin/${{ github.event.inputs.source-branch }} && git push origin release -f
You can’t perform that action at this time.
0 commit comments