aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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