jenkinsfile.release: add population of release notes placeholder
@@ -589,19 +589,25 @@ def buildRelease(stageName, image, packageRevision='1',
sh "mv release.tar.gz ${stageName}-release.tar.gz"
utils.archive(["${stageName}-release.tar.gz"])
- if (bundleRepo) {
- dir('libelektra') {
- sh 'git bundle create libelektra.bundle --all'
- utils.archive(['libelektra.bundle'])
- }
- }
-
script {
RELEASE_VERSION = sh(
script: 'sh libelektra/scripts/release/get-installed-version.sh',
returnStdout: true
).trim()
}
+
+ dir ('libelektra') {
+ sh "scripts/release/populate-release-notes.sh ${RELEASE_VERSION} ../${RELEASE_VERSION}/"
+ sh "git add doc/news"
+ sh "git commit -m 'release: add hashsums and statistics to release notes'"
+ }
+
+ if (bundleRepo) {
+ dir('libelektra') {
+ sh 'git bundle create libelektra.bundle --all'
+ utils.archive(['libelektra.bundle'])
+ }
+ }
}
deleteDir()
}
