@@ -32,82 +32,83 @@ jobs:
32
32
MAIN_BRANCH : ros2
33
33
DEVEL_BRANCH : ros2-devel
34
34
steps :
35
- - name : Checkout to rc branch
36
- uses : actions/checkout@v4
37
- with :
38
- ref : ${{ github.event.inputs.release_candidate }}
35
+ # - name: Checkout to rc branch
36
+ # uses: actions/checkout@v4
37
+ # with:
38
+ # ref: ${{ github.event.inputs.release_candidate }}
39
39
40
- - name : Catkin release
41
- id : catkin_release
42
- uses : at-wat/catkin-release-action@v1
43
- with :
44
- version : ${{ github.event.inputs.version }}
45
- git_user : action-bot
46
- git_email : action-bot@action-bot.com
47
- github_token : ${{ secrets.GITHUB_TOKEN }}
40
+ # - name: Catkin release
41
+ # id: catkin_release
42
+ # uses: at-wat/catkin-release-action@v1
43
+ # with:
44
+ # version: ${{ github.event.inputs.version }}
45
+ # git_user: action-bot
46
+ # git_email: action-bot@action-bot.com
47
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
48
48
49
- - name : Catkin release - create PR
50
- run : |
51
- gh pr create \
52
- --base ${{ github.event.inputs.release_candidate }} \
53
- --head ${{ steps.catkin_release.outputs.created_branch }} \
54
- --title "Release ${{ steps.catkin_release.outputs.version}}" \
55
- --body "This PR incorporates package(s) version and changelog update."
49
+ # - name: Catkin release - create PR
50
+ # run: |
51
+ # gh pr create \
52
+ # --base ${{ github.event.inputs.release_candidate }} \
53
+ # --head ${{ steps.catkin_release.outputs.created_branch }} \
54
+ # --title "Release ${{ steps.catkin_release.outputs.version}}" \
55
+ # --body "This PR incorporates package(s) version and changelog update."
56
56
57
- - name : Catkin release - merge PR
58
- if : ${{ fromJSON(github.event.inputs.automatic_mode) == true }}
59
- run : |
60
- gh pr merge ${{ steps.catkin_release.outputs.created_branch }} \
61
- --merge --delete-branch
57
+ # - name: Catkin release - merge PR
58
+ # if: ${{ fromJSON(github.event.inputs.automatic_mode) == true }}
59
+ # run: |
60
+ # gh pr merge ${{ steps.catkin_release.outputs.created_branch }} \
61
+ # --merge --delete-branch
62
62
63
- - name : Checkout to main branch
64
- if : ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
65
- == true }}
66
- uses : actions/checkout@v4
67
- with :
68
- ref : ${{ env.MAIN_BRANCH }}
63
+ # - name: Checkout to main branch
64
+ # if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
65
+ # == true }}
66
+ # uses: actions/checkout@v4
67
+ # with:
68
+ # ref: ${{ env.MAIN_BRANCH }}
69
69
70
- - name : Create PR to main branch
71
- if : ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
72
- == true }}
73
- run : |
74
- gh pr create \
75
- --base ${{ env.MAIN_BRANCH }} \
76
- --head ${{ github.event.inputs.release_candidate }} \
77
- --title "Release ${{ steps.catkin_release.outputs.version}} to ${{ env.MAIN_BRANCH }}" \
78
- --body "This PR incorporates package(s) version and changelog update."
70
+ # - name: Create PR to main branch
71
+ # if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
72
+ # == true }}
73
+ # run: |
74
+ # gh pr create \
75
+ # --base ${{ env.MAIN_BRANCH }} \
76
+ # --head ${{ github.event.inputs.release_candidate }} \
77
+ # --title "Release ${{ steps.catkin_release.outputs.version}} to ${{ env.MAIN_BRANCH }}" \
78
+ # --body "This PR incorporates package(s) version and changelog update."
79
79
80
- - name : Merge PR to main branch
81
- if : ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
82
- == true }}
83
- run : |
84
- gh pr merge ${{ github.event.inputs.release_candidate }} \
85
- --merge --delete-branch
80
+ # - name: Merge PR to main branch
81
+ # if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
82
+ # == true }}
83
+ # run: |
84
+ # gh pr merge ${{ github.event.inputs.release_candidate }} \
85
+ # --merge --delete-branch
86
86
87
- - name : Create prerelease
88
- if : ${{ fromJSON(github.event.inputs.automatic_mode) == true && fromJSON(github.event.inputs.prerelease)
89
- == true}}
90
- run : |
91
- gh release create ${{ steps.catkin_release.outputs.version }} \
92
- --target ${{ env.MAIN_BRANCH }} \
93
- --title ${{ github.event.inputs.release_name }} \
94
- --generate-notes \
95
- --prerelease
87
+ # - name: Create prerelease
88
+ # if: ${{ fromJSON(github.event.inputs.automatic_mode) == true && fromJSON(github.event.inputs.prerelease)
89
+ # == true}}
90
+ # run: |
91
+ # gh release create ${{ steps.catkin_release.outputs.version }} \
92
+ # --target ${{ env.MAIN_BRANCH }} \
93
+ # --title ${{ github.event.inputs.release_name }} \
94
+ # --generate-notes \
95
+ # --prerelease
96
96
97
- - name : Create release
98
- if : ${{ fromJSON(github.event.inputs.automatic_mode) == true && fromJSON(github.event.inputs.prerelease)
99
- == false}}
100
- run : |
101
- gh release create ${{ steps.catkin_release.outputs.version }} \
102
- --target ${{ env.MAIN_BRANCH }} \
103
- --title ${{ github.event.inputs.release_name }} \
104
- --generate-notes
97
+ # - name: Create release
98
+ # if: ${{ fromJSON(github.event.inputs.automatic_mode) == true && fromJSON(github.event.inputs.prerelease)
99
+ # == false}}
100
+ # run: |
101
+ # gh release create ${{ steps.catkin_release.outputs.version }} \
102
+ # --target ${{ env.MAIN_BRANCH }} \
103
+ # --title ${{ github.event.inputs.release_name }} \
104
+ # --generate-notes
105
105
106
106
- name : Checkout to devel branch
107
107
if : ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
108
108
uses : actions/checkout@v4
109
109
with :
110
110
ref : ${{ env.DEVEL_BRANCH }}
111
+ fetch-depth : 0
111
112
112
113
- name : Update devel branch
113
114
if : ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
0 commit comments