Skip to content

Commit

Permalink
Merge branch 'ridai/ch1773/go-get-github-com-yourbase-yb-installs-lat…
Browse files Browse the repository at this point in the history
…est' into test/release-candidate
  • Loading branch information
Ridai Govinda Pombo committed Jul 30, 2020
2 parents 235bf80 + dfc9389 commit f7135ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ done
for i in *.tgz
do
if [ -z "${local_test_release}" ]; then
aws s3 ls s3://yourbase-artifacts/yb/${VERSION}/$i
if [[ $? -eq 0 ]]; then
if aws s3 ls s3://yourbase-artifacts/yb/${VERSION}/$i; then
echo "A version for ${VERSION} already exists! Not releasing this version."
exit 1
fi
Expand Down

0 comments on commit f7135ba

Please sign in to comment.