Skip to content

Commit

Permalink
better update script
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Jul 2, 2021
1 parent 10a217b commit 05c3be6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xbarapp.com/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 05c3be6

Please sign in to comment.