mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-10-30 07:53:33 +08:00
Compare commits
1 Commits
beta/20250
...
null
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a8e33160d |
8
extras/packaging/gnu-linux/Jenkinsfile
vendored
8
extras/packaging/gnu-linux/Jenkinsfile
vendored
@ -140,19 +140,19 @@ make -f extras/packaging/gnu-linux/Makefile portable-release-tarball .tarball-ve
|
||||
sshagent(credentials: [JENKINS_SSH_KEY, DL_SSH_KEY]) {
|
||||
echo "Publishing to git repository..."
|
||||
script {
|
||||
def tagDate = sh 'date +"%Y%M%d"'
|
||||
def wantedTag = sh "echo ${params.CHANNEL}/\$(date +\"%Y%M%d\")"
|
||||
sh """
|
||||
git tag -am ${params.CHANNEL}/${tagDate} \"Jami new ${params.CHANNEL} version\"
|
||||
git tag -am \"Jami new ${params.CHANNEL} version\" ${wantedTag}
|
||||
"""
|
||||
if (params.CHANNEL == 'stable') {
|
||||
// Only stables releases get tarballs and a tag.
|
||||
sh 'git push --follow-tags'
|
||||
sh "git push origin --tags"
|
||||
echo "Publishing release tarball..."
|
||||
sh 'rsync --verbose jami*.tar.gz ' +
|
||||
"${REMOTE_HOST}:${REMOTE_BASE_DIR}" +
|
||||
"/release/tarballs/"
|
||||
} else {
|
||||
sh 'git push --tags'
|
||||
sh "git push origin --tags"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user