Update manifest and CI script.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2022-12-15 14:39:04 -06:00
parent 0c02c10895
commit 92047cd102
2 changed files with 5 additions and 7 deletions

View File

@ -5,19 +5,17 @@ name: default
steps: steps:
- name: test - name: test
image: rust image: rust
pull: always
commands: commands:
- rustup component add clippy rustfmt - rustup component add clippy rustfmt
- cargo fmt --check - cargo fmt --check
- cargo build --all - cargo test
- cargo build --examples --all
- cargo test --all
- cargo clippy - cargo clippy
- name: release - name: release
image: rust image: rust
pull: always
commands: commands:
- cargo install -f git-cliff - cargo publish
- git-cliff --output CHANGELOG.md
- cargo publish --allow-dirty
when: when:
event: event:
- tag - tag

View File

@ -13,7 +13,7 @@ edition = "2021"
rand = "0.8" rand = "0.8"
[package.metadata.release] [package.metadata.release]
tag-prefix = ""
publish = false publish = false
push = false push = false
pre-release-hook = ["git-cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}"] pre-release-hook = ["git-cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}"]
pre-release-commit-message = "Release"