~cyplo/genpass

269c610aea3757c3b0fcb142ea3b93a837d6fdf9 — Cyryl PÅ‚otnicki 2 years ago 130d639
don't use cargo release to push as it's broken
4 files changed, 5 insertions(+), 3 deletions(-)

M Cargo.toml
M flake.nix
M release.toml
M scripts/release.sh
M Cargo.toml => Cargo.toml +1 -1
@@ 1,6 1,6 @@
[package]
name = "genpass"
version = "0.5.7"
version = "0.5.9"
authors = ["Cyryl PÅ‚otnicki <cyplo@cyplo.dev>"]
description = "A simple yet robust commandline random password generator."
repository = "https://git.sr.ht/~cyplo/genpass"

M flake.nix => flake.nix +1 -0
@@ 36,6 36,7 @@
            cargo-edit
            cargo-outdated
            cargo-release
            cargo-tarpaulin
            cargo-watch
            clippy
            git

M release.toml => release.toml +0 -1
@@ 1,5 1,4 @@
allow-branch = ["main"]
push-remote = "git@git.sr.ht:~cyplo/genpass"

pre-release-replacements = [
  {file = "CHANGELOG.md", search = "Unreleased", replace = "{{version}}"},

M scripts/release.sh => scripts/release.sh +3 -1
@@ 12,4 12,6 @@ git config user.email "releases@cyplo.dev"
git config user.name "Release Bot"
git config init.defaultBranch main
git checkout main
cargo release --no-dev-version --no-confirm --execute patch
git remote add origin git@git.sr.ht:~cyplo/genpass
cargo release --no-dev-version --no-confirm --no-push --execute patch
git push origin main
\ No newline at end of file