From 374fcc083b2f60b3d1193c6b9383ae0476938e64 Mon Sep 17 00:00:00 2001 From: Henri Tremblay Date: Sun, 21 Mar 2021 23:10:27 -0400 Subject: [PATCH] No need to pass the version to the deploy script anymore --- README.md | 2 +- deploy.sh | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/README.md b/README.md index 5a8acf908..fed6a95f4 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ echo "" ``` * Launch an Android device (virtual or physical) -* Launch `./deploy.sh version` +* Launch `./deploy.sh` * Answer the questions (normally, just acknowledge the proposed default) * Follow the instructions diff --git a/deploy.sh b/deploy.sh index fce10d33f..205f83059 100755 --- a/deploy.sh +++ b/deploy.sh @@ -12,19 +12,6 @@ function pause { read -p "Press [enter] to continue" } -# make sure the version is passed in parameter -if [ "$1" == "" ]; then - echo "Version to deploy should be provided" - exit 1 -fi - -version=$1 - -if [ "$(git branch | grep ${version})" == "${version}" ]; then - echo "A branch named $version clashes with the version tag" - exit 1 -fi - # Weird fix required by GPG. See https://github.com/keybase/keybase-issues/issues/1712. You will have to enter the passphrase on screen export GPG_TTY=$(tty)