Skip to content

Commit b57d9ff

Browse files
build(release): remove deprecated release stages and simplify branch configuration
Refs: (#622)
1 parent ceb4927 commit b57d9ff

2 files changed

Lines changed: 1 addition & 43 deletions

File tree

Jenkinsfile

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -260,40 +260,6 @@ pipeline {
260260
}
261261
}
262262

263-
stage('Open release to devel pull request') {
264-
when {
265-
allOf {
266-
expression { isReleaseBranch == true }
267-
expression { isUpdateImages == false }
268-
}
269-
}
270-
steps {
271-
script {
272-
container('nodejs-' + nodeVersion) {
273-
sh 'apt update && apt install -y openssh-client'
274-
String versionBumperBranchName = "version-bumper/${getLastTag()}"
275-
sh(script: """
276-
git push origin HEAD:refs/heads/${versionBumperBranchName}
277-
""")
278-
withCredentials([usernamePassword(credentialsId: 'jenkins-integration-with-github-account', usernameVariable: 'GH_USERNAME', passwordVariable: 'GH_TOKEN')]) {
279-
sh(script: """
280-
curl https://api.github.com/repos/${getRepositoryName()}/pulls \
281-
-X POST \
282-
-H 'Accept: application/vnd.github.v3+json' \
283-
-H 'Authorization: token ${GH_TOKEN}' \
284-
-d '{
285-
\"title\": \"chore(release): ${getLastTag()}\",
286-
\"head\": \"${versionBumperBranchName}\",
287-
\"base\": \"devel\",
288-
\"maintainer_can_modify\": true
289-
}'
290-
""")
291-
}
292-
}
293-
}
294-
}
295-
}
296-
297263
stage('Deploy documentation') {
298264
when {
299265
allOf {

release.config.mjs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@
33
*/
44
export default {
55
branches: [
6-
'release',
7-
{
8-
name: 'beta',
9-
prerelease: true
10-
},
11-
{
12-
name: 'devel',
13-
prerelease: true
14-
}
6+
'devel'
157
],
168
plugins: [
179
[

0 commit comments

Comments
 (0)