.buildkite/pipeline.yml in osso-0.0.6.alpha vs .buildkite/pipeline.yml in osso-0.0.6
- old
+ new
@@ -17,10 +17,10 @@
artifact: "coverage/.resultset.json"
input_type: simplecov
prefix: '/var/lib/buildkite-agent/builds/enterprise-oss-bk-1/enterpriseoss/osso-rb/'
- block: ":rubygems: Publish :red_button:"
- branches: "main"
+ if: build.tag != null
- name: "Push :rubygems:"
commands: "./bin/publish"
- branches: "main"
\ No newline at end of file
+ if: build.tag != null