Only check TRIGGERED_BUILDKITE_TAG

This commit is contained in:
Michael Vines 2019-01-07 19:53:52 -08:00
parent a8b9899dee
commit c4ca76e39e
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ maybePackage="echo Package skipped"
maybePublish="echo Publish skipped"
# Only package/publish if this is a tagged release
if [[ -n $BUILDKITE_TAG && -n $TRIGGERED_BUILDKITE_TAG ]]; then
if [[ -n $TRIGGERED_BUILDKITE_TAG ]]; then
maybePackage="cargo package"
# Only publish if there's no human around