mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 14:55:43 +02:00
packaging: Simplify 'Publish release artifacts stage' logic.
* extras/packaging/gnu-linux/Jenkinsfile (Publish release artifacts'): Simplify logic. Change-Id: I4cec0b8009256501d627453df26bd17024e55f45
This commit is contained in:
parent
9355c1a2df
commit
003b6be691
1 changed files with 5 additions and 7 deletions
12
extras/packaging/gnu-linux/Jenkinsfile
vendored
12
extras/packaging/gnu-linux/Jenkinsfile
vendored
|
@ -149,18 +149,16 @@ make -f ${PACKAGING_DIR}/Makefile portable-release-tarball .tarball-version
|
||||||
" ${params.CHANNEL}",
|
" ${params.CHANNEL}",
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
sh """
|
sh "git tag -am \"Jami new ${params.CHANNEL} version\"" +
|
||||||
git tag -am \"Jami new ${params.CHANNEL} version\" ${wantedTag}
|
" ${wantedTag}"
|
||||||
"""
|
sh "git push origin --tags"
|
||||||
if (params.CHANNEL == 'stable') {
|
if (params.CHANNEL == 'stable') {
|
||||||
// Only stables releases get tarballs and a tag.
|
// Only stable releases get a source
|
||||||
sh "git push origin --tags"
|
// tarball.
|
||||||
echo "Publishing release tarball..."
|
echo "Publishing release tarball..."
|
||||||
sh 'rsync --verbose jami*.tar.gz ' +
|
sh 'rsync --verbose jami*.tar.gz ' +
|
||||||
"${REMOTE_HOST}:${REMOTE_BASE_DIR}" +
|
"${REMOTE_HOST}:${REMOTE_BASE_DIR}" +
|
||||||
"/release/tarballs/"
|
"/release/tarballs/"
|
||||||
} else {
|
|
||||||
sh "git push origin --tags"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue