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 - name: release
image: rust image: rust
commands: commands:
- cargo install -f git-cliff - cargo publish
- git-cliff --output CHANGELOG.md
- cargo publish --allow-dirty
when: when:
event: ref:
- tag - refs/tags/v*
environment: environment:
CARGO_REGISTRY_TOKEN: CARGO_REGISTRY_TOKEN:
from_secret: cargo_registry_token from_secret: cargo_registry_token