diff --git a/do-release.sh b/do-release.sh index 0c09953bb3..6ce9e08c22 100755 --- a/do-release.sh +++ b/do-release.sh @@ -2,13 +2,11 @@ if [ -z "${CIRCLE_PULL_REQUEST}" ] && [ -n "${CIRCLE_TAG}" ] && [ "${CIRCLE_PROJECT_USERNAME}" = "weaveworks" ] ; then export RELEASE_DESCRIPTION="${CIRCLE_TAG} (permalink)" - goreleaser release --config=./.goreleaser.yml + cat ./.goreleaser.yml ./.goreleaser.brew.yml > .goreleaser.brew.combined.yml + goreleaser release --config=./.goreleaser.brew.combined.yml sleep 90 # GitHub API resolves the time to the nearest minute, so in order to control the sorting oder we need this - cat ./.goreleaser.yml ./.goreleaser.brew.yml > .goreleaser.brew.combined.yml - goreleaser release --rm-dist --config=./.goreleaser.brew.combined.yml - git tag --delete "${CIRCLE_TAG}" git tag --force latest_release