commit | 1a727f9ea0c6ea8fa14adb60cb4348a76ec64e9d | [log] [tgz] |
---|---|---|
author | Nicolas De loof <nicolas.deloof@gmail.com> | Thu Apr 21 17:25:19 2016 +0200 |
committer | Nicolas De loof <nicolas.deloof@gmail.com> | Thu Apr 21 17:25:19 2016 +0200 |
tree | 1627bcf123d7c5cc72ad66f62092f4f62b447cd2 | |
parent | 816a88e3fd16eef61a96c0b1d219a43b625870c8 [diff] |
Update weekly.sh
diff --git a/weekly.sh b/weekly.sh index 5148ebf..402dbc1 100755 --- a/weekly.sh +++ b/weekly.sh
@@ -1,5 +1,8 @@ #!/bin/bash +set -e +set -x + JENKINS_VERSION=`curl -q https://api.github.com/repos/jenkinsci/jenkins/tags | grep '"name":' | grep -o '[0-9]\.[0-9]+' | uniq | sort | tail -1` echo $JENKINS_VERSION