Tagged snap builds now correctly publish to the beta channel
This commit is contained in:
parent
11b9a0323d
commit
2b0f6355af
|
@ -36,3 +36,9 @@ steps:
|
||||||
- trigger: "solana-snap"
|
- trigger: "solana-snap"
|
||||||
branches: "!pull/*"
|
branches: "!pull/*"
|
||||||
async: true
|
async: true
|
||||||
|
build:
|
||||||
|
message: "${BUILDKITE_MESSAGE}"
|
||||||
|
commit: "${BUILDKITE_COMMIT}"
|
||||||
|
branch: "${BUILDKITE_BRANCH}"
|
||||||
|
env:
|
||||||
|
TRIGGERED_BUILDKITE_TAG: "${BUILDKITE_TAG}"
|
||||||
|
|
|
@ -7,7 +7,11 @@ if [[ -z $BUILDKITE_BRANCH ]] || ./ci/is-pr.sh; then
|
||||||
DRYRUN="echo"
|
DRYRUN="echo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$BUILDKITE_TAG" ]]; then
|
# BUILDKITE_TAG is the normal environment variable set by Buildkite. However
|
||||||
|
# when this script is run from a triggered pipeline, TRIGGERED_BUILDKITE_TAG is
|
||||||
|
# used instead of BUILDKITE_TAG (due to Buildkite limitations that prevents
|
||||||
|
# BUILDKITE_TAG from propagating through to triggered pipelines)
|
||||||
|
if [[ -z "$BUILDKITE_TAG" && -z "$TRIGGERED_BUILDKITE_TAG" ]]; then
|
||||||
SNAP_CHANNEL=edge
|
SNAP_CHANNEL=edge
|
||||||
else
|
else
|
||||||
SNAP_CHANNEL=beta
|
SNAP_CHANNEL=beta
|
||||||
|
|
Loading…
Reference in New Issue