Restrict building of releases to specific tag pattern.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Nolan Darilek 2022-08-29 13:39:19 -05:00
parent 22e58abe1f
commit a2231f3ed1

View File

@ -17,12 +17,10 @@ steps:
- name: release
image: rust
commands:
- cargo install -f git-cliff
- git-cliff --output CHANGELOG.md
- cargo publish --allow-dirty
- cargo publish
when:
event:
- tag
ref:
- refs/tags/v*
environment:
CARGO_REGISTRY_TOKEN:
from_secret: cargo_registry_token