File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ steps:
9191 .buildkite/setup-go.sh go build -ldflags="-s -w -X main.version=${VERSION}" -o builddeck ./cmd/builddeck
9292 ls -lh builddeck
9393 buildkite-agent artifact upload builddeck
94- if [[ -n "${VERSION}" && "${VERSION}" != "dev" ]]; then
95- .buildkite/release.sh "${VERSION}"
96- fi
94+ if [[ -n "${VERSION}" && "${VERSION}" != "dev" ]]; then
95+ .buildkite/release.sh "${VERSION}"
96+ fi
97+ # Ensure the binary is available as a local file for any final steps if needed
98+ # (already uploaded as artifact, but release.sh handles the GitHub upload)
9799 secrets :
98100 - GITHUB_TOKEN
99101
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ cd "$(dirname "$0")/.."
1717
1818# Download ALL artifacts from build and checksum steps
1919echo " Downloading artifacts..."
20- buildkite-agent artifact download " builddeck* " . --step build 2> /dev/null || true
21- buildkite-agent artifact download " * .sha256" . --step checksum 2> /dev/null || true
22- buildkite-agent artifact download " tag.txt " . --step tag 2> /dev/null || true
20+ buildkite-agent artifact download " builddeck" . --step build 2> /dev/null || true
21+ buildkite-agent artifact download " builddeck .sha256" . --step checksum 2> /dev/null || true
22+ buildkite-agent artifact download " builddeck.tag " . --step tag 2> /dev/null || true
2323
2424# Debug: list what we have
2525echo " === Files in workspace ==="
You can’t perform that action at this time.
0 commit comments