Skip to content
Snippets Groups Projects
Commit 8544a2eb authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Maxim Cournoyer
Browse files

Jenkinsfile: Also push release commits to stable branch.

This will make it easier to follow the history when checking out the
stable branch.

* Jenkinsfile: Push both tags and commits when publishing to the
stable channel.

Change-Id: Idb7b9485b80c9599cf0e5e5f81b8573b69dba652
parent 6d3ae522
No related branches found
No related tags found
No related merge requests found
...@@ -180,7 +180,7 @@ git tag \$(cat .tarball-version) -am "Jami \$(cat .tarball-version)" ...@@ -180,7 +180,7 @@ git tag \$(cat .tarball-version) -am "Jami \$(cat .tarball-version)"
script { script {
if (params.CHANNEL == 'stable') { if (params.CHANNEL == 'stable') {
// Only stables releases get tarballs and a tag. // Only stables releases get tarballs and a tag.
sh 'git push --tags' sh 'git push --follow-tags'
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}" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment