diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-23 11:46:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-23 11:46:57 +0200 |
commit | 8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5 (patch) | |
tree | 46c0ffefd8ff5b01d9733f2bd2f9d764763cf8f7 | |
parent | 47581df0737ebcc058a5863143c752f9112a4424 (diff) | |
download | PeerTube-8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5.tar.gz PeerTube-8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5.tar.zst PeerTube-8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5.zip |
Try to update version of nightly builds
-rwxr-xr-x | scripts/nightly.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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" | |||
20 | 20 | ||
21 | npm run build | 21 | npm run build |
22 | 22 | ||
23 | nightly_version="nightly-$today" | ||
24 | sed -i 's/"version": "\([^"]\+\)"/"version": "\1-'"$nightly_version"'"/' ./package.json | ||
25 | |||
23 | # Creating the archives | 26 | # Creating the archives |
24 | ( | 27 | ( |
25 | # local variables | 28 | # local variables |
@@ -40,3 +43,5 @@ npm run build | |||
40 | # temporary setup destruction | 43 | # temporary setup destruction |
41 | rm "$directory_name" | 44 | rm "$directory_name" |
42 | ) | 45 | ) |
46 | |||
47 | git checkout -- ./package.json | ||