2502c1b6da
Partially fixes https://github.com/graphql-rust/juniper/issues/248. * Install `cargo-release`. (currently need a patched one with https://github.com/sunng87/cargo-release/pull/74) * Run `cargo make release-dry-run` to do a dry run of a release * Run `cargo make release` to do a minor versioned release of every crate * Run `cargo make release-patch` to do a patch release of every crate To only release one crate: * Change directories into the desired crate * Point `cargo-make` to the workspace-level Makefile when running a command. For example, `cargo make --makefile ../Makefile.toml release-dry-run`. From the workspace root, run `cargo
9 lines
477 B
TOML
9 lines
477 B
TOML
dev-version-ext = "pre"
|
|
pre-release-commit-message = "Release {{crate_name}} {{version}}"
|
|
pro-release-commit-message = "Bump {{crate_name}} version to {{next_version}}"
|
|
tag-message = "Release {{crate_name}} {{version}}"
|
|
upload-doc = false
|
|
pre-release-replacements = [
|
|
{file="../juniper/Cargo.toml", search="juniper_codegen = { version = \"0.11.0\"", replace="juniper_codegen = { version = \"{{version}}\""},
|
|
{file="release.toml", search="0.11.0", replace="{{version}}"},
|
|
]
|