Update manifest and CI script.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0c02c10895
commit
92047cd102
10
.drone.yml
10
.drone.yml
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user