projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47581df
)
Try to update version of nightly builds
author
Chocobozzz
<me@florianbigard.com>
Wed, 23 Oct 2019 09:46:42 +0000
(11:46 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 23 Oct 2019 09:46:57 +0000
(11:46 +0200)
scripts/nightly.sh
patch
|
blob
|
history
diff --git
a/scripts/nightly.sh
b/scripts/nightly.sh
index bde5d57b964c889e242ae2d2ffa153061ef482c3..c4c6f87b573673ca8bd4fc857054a77f024ece3a 100755
(executable)
--- 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