From 05c3be6a59c5a5ae311f78c94594cb5148716fd0 Mon Sep 17 00:00:00 2001 From: matryer Date: Fri, 2 Jul 2021 07:29:18 +0100 Subject: [PATCH] better update script --- xbarapp.com/deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xbarapp.com/deploy.sh b/xbarapp.com/deploy.sh index cd6ba1af6..7b31b460b 100755 --- a/xbarapp.com/deploy.sh +++ b/xbarapp.com/deploy.sh @@ -4,7 +4,8 @@ set -e VERSION=`git describe --tags` printf "package main\n\nconst version = \"${VERSION}\"" > version.gen.go -echo "Deploying xbarapp.com (${VERSION})..." +echo "Running test..." +go test -v -go test +echo "Deploying xbarapp.com (${VERSION})..." gcloud app deploy --project xbarapp --version=beta