Unverified Commit 876a7f33 authored by Erik Wilson's avatar Erik Wilson Committed by GitHub

Merge pull request #1518 from erikwilson/rpm-publish

Only publish rpm on tag
parents 0d31909b 769110e7
...@@ -75,6 +75,14 @@ steps: ...@@ -75,6 +75,14 @@ steps:
commands: commands:
- scripts/provision/generic/centos7/yum-install-rpm-tools - scripts/provision/generic/centos7/yum-install-rpm-tools
- scripts/package-rpm - scripts/package-rpm
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: test - name: test
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.4.2
...@@ -187,6 +195,14 @@ steps: ...@@ -187,6 +195,14 @@ steps:
commands: commands:
- scripts/provision/generic/centos7/yum-install-rpm-tools - scripts/provision/generic/centos7/yum-install-rpm-tools
- scripts/package-rpm - scripts/package-rpm
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: test - name: test
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.4.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment