diff --git a/.drone.yml b/.drone.yml index 7db6432..26d7012 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,19 +5,17 @@ name: default steps: - name: test image: rust + pull: always commands: - rustup component add clippy rustfmt - cargo fmt --check - - cargo build --all - - cargo build --examples --all - - cargo test --all + - cargo test - cargo clippy - name: release image: rust + pull: always commands: - - cargo install -f git-cliff - - git-cliff --output CHANGELOG.md - - cargo publish --allow-dirty + - cargo publish when: event: - tag diff --git a/Cargo.toml b/Cargo.toml index 96c9993..13f77c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" rand = "0.8" [package.metadata.release] -tag-prefix = "" publish = false push = false pre-release-hook = ["git-cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}"] +pre-release-commit-message = "Release"