File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,8 @@ steps:
5757
5858 - label : " :github: Release"
5959 key : " release"
60- # build.tag != null && build.branch == "main"
6160 if : |
6261 build.tag =~ /^v[0-9]+[.][0-9]+[.][0-9]+$$/
6362 command : " .buildkite/scripts/release.sh"
6463 agents :
65- image : " golang:1.19.5"
66- cpu : " 4"
67- memory : " 16G"
64+ provider : " gcp"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set -euo pipefail
55source .buildkite/scripts/tooling.sh
66
77add_bin_path (){
8+ mkdir -p ${WORKSPACE} /bin
89 export PATH=" ${WORKSPACE} /bin:${PATH} "
910}
1011
Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5+ cleanup () {
6+ rm -rf ${WORKSPACE}
7+ }
8+ trap cleanup exit
9+
10+ WORKSPACE=" /tmp/bin-buildkite/"
11+
12+ VERSION=" "
13+ source .buildkite/scripts/install_deps.sh
14+ source .buildkite/scripts/tooling.sh
15+
16+ add_bin_path
17+ with_go
18+
519echo " --- fetching tags"
620# Ensure that tags are present so goreleaser can build the changelog from the last release.
721git rev-parse --is-shallow-repository
@@ -10,4 +24,3 @@ git fetch origin --tags
1024echo " --- running goreleaser"
1125# Run latest version of goreleaser
1226curl -sL https://git.io/goreleaser | bash
13-
You can’t perform that action at this time.
0 commit comments