mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master'
This commit is contained in:
commit
6acd2c7416
3 changed files with 8 additions and 6 deletions
|
@ -7,8 +7,12 @@
|
||||||
[](https://github.com/YunoHost/yunohost)
|
[](https://github.com/YunoHost/yunohost)
|
||||||
[](https://github.com/YunoHost-Apps/mastodon_ynh/issues)
|
[](https://github.com/YunoHost-Apps/mastodon_ynh/issues)
|
||||||
|
|
||||||
|
:warning: Cette application ne fonctionne que sur x86, x86_64 et non sur ARM (Raspberry,Olimex,Labriqueinternet,...). T_T
|
||||||
|
|
||||||
:warning: Cette application utilise les packages backports de Debian, nous vous recommendons de ne pas installer cette application directement en production
|
:warning: Cette application utilise les packages backports de Debian, nous vous recommendons de ne pas installer cette application directement en production
|
||||||
|
|
||||||
|
:warning: This app work only on x86, x86_64 and not on ARM (Raspberry,Olimex,InternetCube,...). T_T
|
||||||
|
|
||||||
:warning: This application uses the Debian backports packages, do not install this application directly in production
|
:warning: This application uses the Debian backports packages, do not install this application directly in production
|
||||||
|
|
||||||
## Mastodon c'est quoi ?
|
## Mastodon c'est quoi ?
|
||||||
|
|
|
@ -95,11 +95,10 @@ CLONECOMMANDS
|
||||||
|
|
||||||
# Switch branch to tagged release
|
# Switch branch to tagged release
|
||||||
cd $final_path/live
|
cd $final_path/live
|
||||||
url=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | sort -r | head -1 | cut -d\" -f4)
|
version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4)
|
||||||
version=$(echo $url | cut -d/ -f8)
|
|
||||||
sudo su - $app <<SWITCHCOMMANDS
|
sudo su - $app <<SWITCHCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
git checkout $(git tag | tail -n 1)
|
git checkout $version
|
||||||
SWITCHCOMMANDS
|
SWITCHCOMMANDS
|
||||||
|
|
||||||
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
# Be king rewind (/var/cache/yunohost/from_file/scripts)
|
||||||
|
|
|
@ -50,11 +50,10 @@ PULLCOMMANDS
|
||||||
|
|
||||||
# Switch branch to tagged release
|
# Switch branch to tagged release
|
||||||
cd $final_path/live
|
cd $final_path/live
|
||||||
url=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | sort -r | head -1 | cut -d\" -f4)
|
version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4)
|
||||||
version=$(echo $url | cut -d/ -f8)
|
|
||||||
sudo su - $app <<SWITCHCOMMANDS
|
sudo su - $app <<SWITCHCOMMANDS
|
||||||
pushd ~/live
|
pushd ~/live
|
||||||
git checkout $(git tag | tail -n 1)
|
git checkout $version
|
||||||
SWITCHCOMMANDS
|
SWITCHCOMMANDS
|
||||||
|
|
||||||
# upgrade Node.js v4 to v6
|
# upgrade Node.js v4 to v6
|
||||||
|
|
Loading…
Add table
Reference in a new issue