remove unnecessary check in update-status-go script

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
yenda 2019-05-09 12:24:15 +02:00 committed by Pedro Pombeiro
parent cc009a3c2c
commit 625ff669f7
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1
1 changed files with 0 additions and 6 deletions

View File

@ -24,12 +24,6 @@ if [ $# -eq 0 ]; then
fi fi
STATUS_GO_OWNER="$(cat ${GIT_ROOT}/STATUS_GO_OWNER)" STATUS_GO_OWNER="$(cat ${GIT_ROOT}/STATUS_GO_OWNER)"
STATUS_GO_VERSION="v${1#"v"}"
if [ "$STATUS_GO_OWNER" == 'status-im' ] && [ "$STATUS_GO_VERSION" != "$1" ]; then
echo "status-go release branches should include the v prefix!"
echo "Please create a new branch called $STATUS_GO_VERSION"
exit 1
fi
STATUS_GO_VERSION=$1 STATUS_GO_VERSION=$1
STATUS_GO_SHA256=$(nix-prefetch-url --unpack https://github.com/${STATUS_GO_OWNER}/status-go/archive/${STATUS_GO_VERSION}.zip) STATUS_GO_SHA256=$(nix-prefetch-url --unpack https://github.com/${STATUS_GO_OWNER}/status-go/archive/${STATUS_GO_VERSION}.zip)