1
0
Fork 0

Try to update version of nightly builds

This commit is contained in:
Chocobozzz 2019-10-23 11:46:42 +02:00
parent 47581df073
commit 8ed11b89b8
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 5 additions and 0 deletions

View File

@ -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