mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[enh] Switch tagged release on install
Work with 1.3.2
This commit is contained in:
parent
2cef464c6b
commit
3b3f95cfe3
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/rub
|
|||
git clone https://github.com/tootsuite/mastodon.git $final_path/live
|
||||
CLONECOMMANDS
|
||||
|
||||
# Switch to tagged release
|
||||
pushd $final_path/live
|
||||
sudo git checkout $(git tag | tail -n 1)
|
||||
|
||||
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue