mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
temp
This commit is contained in:
parent
628b82fcfd
commit
65272f785a
1 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,14 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# Requires SENTRY_AUTH_TOKEN and SENTRY_ORG set in .profile
|
||||||
|
|
||||||
|
old=$(git rev-list HEAD -n 1)
|
||||||
git pull
|
git pull
|
||||||
|
new=$(git rev-list HEAD -n 1)
|
||||||
|
if [ ${old} = ${new} ]; then
|
||||||
|
version=$(sentry-cli releases propose-version)
|
||||||
|
sentry-cli releases new -p royalnet ${version}
|
||||||
|
sentry-cli releases set-commits --auto ${version}
|
||||||
|
fi
|
||||||
sudo python3.6 -m pip install -r requirements.txt
|
sudo python3.6 -m pip install -r requirements.txt
|
||||||
sudo service apache2 restart
|
sudo service apache2 restart
|
||||||
python3.6 -OO bots.py
|
python3.6 -OO bots.py
|
Loading…
Reference in a new issue