summaryrefslogtreecommitdiffstats
path: root/jenkins-builds/promote-to-release-ssh-git.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-02-01 18:05:30 +0100
committerSven Gothel <[email protected]>2023-02-01 18:05:30 +0100
commitab8addec293a1a5864dd9ff5986d12cdac709b62 (patch)
treeea3178ad092eeee91a1f96e79db47f4633fea653 /jenkins-builds/promote-to-release-ssh-git.sh
parent2caeee6a0cdd3a0debc1512e079c5dce5bf1f71a (diff)
jenkins-builds/promote-to-release-ssh-git.sh: Add the maven make-all-jogamp.sh deployment step and log to file; Drop ssh-scp variant.
Diffstat (limited to 'jenkins-builds/promote-to-release-ssh-git.sh')
-rw-r--r--jenkins-builds/promote-to-release-ssh-git.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/jenkins-builds/promote-to-release-ssh-git.sh b/jenkins-builds/promote-to-release-ssh-git.sh
index bde6a27..2faa349 100644
--- a/jenkins-builds/promote-to-release-ssh-git.sh
+++ b/jenkins-builds/promote-to-release-ssh-git.sh
@@ -1,11 +1,15 @@
#! /bin/bash
-version=v2.4.0-rc-20200104
+version=v2.4.0-rc-20230201
rootdir=/srv/www/jogamp.org/deployment
-adir=archive/master/gluegen_930-joal_652-jogl_1493-jocl_1137
+adir=archive/master/gluegen_951-joal_669-jogl_1518-jocl_1158
sdir=archive/rc
urlb=https://jogamp.org/deployment
+logfile=`basename $0 .sh`.log
+
+function deploy_it() {
+
cd /home/jogamp/builds ; \
rm -rf jogamp-scripting ; \
@@ -22,3 +26,12 @@ scp [email protected]:$rootdir/$sdir/$version/sha512sum.txt .
gpg --output sha512sum.txt.sig --detach-sig sha512sum.txt
gpg --verify sha512sum.txt.sig sha512sum.txt && \
scp sha512sum.txt.sig [email protected]:$rootdir/$sdir/$version/
+
+ cd /home/jogamp/builds/jogamp-scripting/maven ; \
+ ./make-all-jogamp.sh $rootdir/$sdir/$version/archive/jogamp-all-platforms.7z $version ; \
+"
+
+}
+
+deploy_it 2>&1 | tee ${logfile}