From: Chocobozzz Date: Wed, 23 Oct 2019 09:46:42 +0000 (+0200) Subject: Try to update version of nightly builds X-Git-Tag: v2.0.0-rc.1~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5;p=oweals%2Fpeertube.git Try to update version of nightly builds --- diff --git a/scripts/nightly.sh b/scripts/nightly.sh index bde5d57b9..c4c6f87b5 100755 --- a/scripts/nightly.sh +++ b/scripts/nightly.sh @@ -20,6 +20,9 @@ tar_name="peertube-nightly-$today.tar.xz" npm run build +nightly_version="nightly-$today" +sed -i 's/"version": "\([^"]\+\)"/"version": "\1-'"$nightly_version"'"/' ./package.json + # Creating the archives ( # local variables @@ -40,3 +43,5 @@ npm run build # temporary setup destruction rm "$directory_name" ) + +git checkout -- ./package.json