Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,18 @@ steps:
sha256sum builddeck | tee builddeck.sha256
buildkite-agent artifact upload "builddeck"
buildkite-agent artifact upload "builddeck.sha256"
# Upload builddeck.tag so the release step can download it from this step
# regardless of which agent it runs on. The tag step also uploads it, but
# having it from release_build ensures immediate availability.
if [[ -s builddeck.tag ]]; then
buildkite-agent artifact upload "builddeck.tag"
fi

- label: ":rocket: GitHub Release"
key: release
depends_on: release_build
command: |
if [[ -s builddeck.tag ]]; then
if buildkite-agent artifact download builddeck.tag . --step release_build 2>/dev/null && [[ -s builddeck.tag ]]; then
VERSION=$(cat builddeck.tag)
echo "Creating GitHub release for ${VERSION}"
.buildkite/release.sh "${VERSION}"
Expand Down
Loading