mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
New method to select pre-release
This commit is contained in:
parent
c50b19af34
commit
f224a7d13c
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ CLONECOMMANDS
|
||||||
cd $final_path/live
|
cd $final_path/live
|
||||||
sudo su - $app <<SWITCHCOMMANDS
|
sudo su - $app <<SWITCHCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
git checkout $(git tag | tail -n 1)
|
git checkout $(git tag -l | sort -V | tail -n 1)
|
||||||
SWITCHCOMMANDS
|
SWITCHCOMMANDS
|
||||||
|
|
||||||
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
||||||
|
|
|
@ -52,7 +52,7 @@ PULLCOMMANDS
|
||||||
cd $final_path/live
|
cd $final_path/live
|
||||||
sudo su - $app <<SWITCHCOMMANDS
|
sudo su - $app <<SWITCHCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
git checkout $(git tag | tail -n 1)
|
git checkout $(git tag -l | sort -V | tail -n 1)
|
||||||
SWITCHCOMMANDS
|
SWITCHCOMMANDS
|
||||||
|
|
||||||
# upgrade Node.js v4 to v6
|
# upgrade Node.js v4 to v6
|
||||||
|
|
Loading…
Add table
Reference in a new issue