Skip to content

Commit

Permalink
chore: check go version after automated checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed Oct 31, 2020
1 parent 65c9052 commit cc99d66
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/release/pre-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

set -e

echo "Using $(go version)"
read -rp "Continue? (y/n) " ok
if [ "$ok" != "y" ] && [ "$ok" != "Y" ] && [ "$ok" != "yes" ]; then
echo "Exiting"
exit 1
fi

# make sure docker daemon is running
docker ps > /dev/null 2>&1
if [ $? -ne 0 ]; then
Expand All @@ -32,6 +25,13 @@ if [ "$GIT_BRANCH" != "master" ]; then
exit 1
fi

echo "Using $(go version)"
read -rp "Continue? (y/n) " ok
if [ "$ok" != "y" ] && [ "$ok" != "Y" ] && [ "$ok" != "yes" ]; then
echo "Exiting"
exit 1
fi

RELEASE_TYPE=$1
PREV_VERSION=$(git describe --abbrev=0)

Expand Down

0 comments on commit cc99d66

Please sign in to comment.