Try to update version of nightly builds
This commit is contained in:
parent
47581df073
commit
8ed11b89b8
|
@ -20,6 +20,9 @@ tar_name="peertube-nightly-$today.tar.xz"
|
||||||
|
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
nightly_version="nightly-$today"
|
||||||
|
sed -i 's/"version": "\([^"]\+\)"/"version": "\1-'"$nightly_version"'"/' ./package.json
|
||||||
|
|
||||||
# Creating the archives
|
# Creating the archives
|
||||||
(
|
(
|
||||||
# local variables
|
# local variables
|
||||||
|
@ -40,3 +43,5 @@ npm run build
|
||||||
# temporary setup destruction
|
# temporary setup destruction
|
||||||
rm "$directory_name"
|
rm "$directory_name"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
git checkout -- ./package.json
|
||||||
|
|
Loading…
Reference in New Issue
Block a user