From 72d8c343b4862528f91e18967efd9c6a2a28a9d1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 28 Feb 2019 21:20:04 +0100 Subject: [PATCH] Use a specific ytdl version --- requirements.txt | 2 +- update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 179b5500..f23d2966 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ python-telegram-bot flask sqlalchemy -youtube-dl +youtube_dl==2019.02.18 requests psycopg2-binary PyNaCl diff --git a/update.sh b/update.sh index b2fb6553..ff540b70 100755 --- a/update.sh +++ b/update.sh @@ -6,7 +6,7 @@ git stash git pull git lfs pull new=$(git rev-list HEAD -n 1) -if [ ${old} = ${new} ]; then +if [[ ${old} = ${new} ]]; then version=$(sentry-cli releases propose-version) sentry-cli releases new -p royalnet ${version} sentry-cli releases set-commits --auto ${version}