New update method

manage testing deplyement
This commit is contained in:
Azlux
2020-06-23 12:38:02 +02:00
parent 5768f20053
commit ccbde28ef9
5 changed files with 59 additions and 21 deletions

View File

@ -9,8 +9,11 @@ case "$1" in
rm -r /tmp/botamusique.tar.gz
;;
testing)
git fetch
git pull --all
curl -Lo /tmp/botamusique.tar.gz https://packages.azlux.fr/botamusique/sources-testing.tar.gz
tar -xzf /tmp/botamusique.tar.gz -C /tmp/
cp -r /tmp/botamusique/* .
rm -r /tmp/botamusique
rm -r /tmp/botamusique.tar.gz
;;
*)
;;