diff options
author | Sven Gothel <[email protected]> | 2020-01-06 22:23:34 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-06 22:23:34 +0100 |
commit | ee7083ecffa94be7f8753c41c6cad96d87e45d7a (patch) | |
tree | c5ed629ca6ca4957c586c3771af51b87dca57c46 /jenkins-builds/promote-to-release.sh | |
parent | 91db9a7221db6d5af963da2b586c4875c19d048b (diff) |
promote-to-release: Also update the 'jogamp-next' symbolic link
Diffstat (limited to 'jenkins-builds/promote-to-release.sh')
-rwxr-xr-x | jenkins-builds/promote-to-release.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jenkins-builds/promote-to-release.sh b/jenkins-builds/promote-to-release.sh index 8ab1ff0..05625b4 100755 --- a/jenkins-builds/promote-to-release.sh +++ b/jenkins-builds/promote-to-release.sh @@ -3,7 +3,8 @@ ## # # Will promote an aggregated/archived folder to a webstart folder. -# - cd root-dir ; cp -a rel-aggregation-dir -> rel-storage-dir/version ; ln -s rel-storage-dir/version . +# - cd root-dir ; cp -a rel-aggregation-dir -> rel-storage-dir/version ; \ +# ln -s rel-storage-dir/version . ; ln -s $version jogamp-next # # promote-to-release.sh <version> <root-dir> <rel-aggregation-dir> <rel-storage-dir> <url-base> # eg. @@ -80,5 +81,7 @@ cd $rootdir cp -a $relaggregationdir $relstoragedir/$version 2>&1 | tee $logfile ln -s $relstoragedir/$version . 2>&1 | tee $logfile +rm -f jogamp-next 2>&1 | tee $logfile +ln -s $version jogamp-next 2>&1 | tee $logfile |