aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-23 11:46:42 +0200
committerChocobozzz <me@florianbigard.com>2019-10-23 11:46:57 +0200
commit8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5 (patch)
tree46c0ffefd8ff5b01d9733f2bd2f9d764763cf8f7 /scripts
parent47581df0737ebcc058a5863143c752f9112a4424 (diff)
downloadPeerTube-8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5.tar.gz
PeerTube-8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5.tar.zst
PeerTube-8ed11b89b8c9bde7bf831341d0cba0ab64f7ffd5.zip
Try to update version of nightly builds
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/nightly.sh5
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
21npm run build 21npm run build
22 22
23nightly_version="nightly-$today"
24sed -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
47git checkout -- ./package.json