Prep for release

This commit is contained in:
Tony Garnock-Jones 2021-08-10 10:48:20 -04:00
parent 0821f6e3da
commit c2167f1ee8
4 changed files with 26 additions and 3 deletions

View File

@ -1,3 +1,7 @@
# Use cargo release to manage publication and versions etc.
#
# cargo install cargo-release
all:
cargo build --all-targets
@ -6,3 +10,17 @@ test:
test-all:
cargo test --all-targets
# Try
#
# make release-minor
#
# to check things, and
#
# make release-minor RELEASE_DRY_RUN=
#
# to do things for real.
RELEASE_DRY_RUN=--dry-run
release-%:
PUBLISH_GRACE_SLEEP=15 cargo release $(RELEASE_DRY_RUN) -vv $*

View File

@ -1,6 +1,6 @@
[package]
name = "preserves-path"
version = "0.1.0"
version = "0.0.0"
authors = ["Tony Garnock-Jones <tonyg@leastfixedpoint.com>"]
edition = "2018"
description = "Implementation of preserves-path, a query language for Preserves documents."

View File

@ -1,6 +1,6 @@
[package]
name = "preserves-tools"
version = "0.1.0"
version = "0.0.0"
authors = ["Tony Garnock-Jones <tonyg@leastfixedpoint.com>"]
edition = "2018"
description = "Command-line utilities for working with Preserves documents."
@ -10,7 +10,7 @@ license = "Apache-2.0"
[dependencies]
preserves = { path = "../preserves", version = "0.16.0" }
preserves-path = { path = "../preserves-path", version = "0.1.0" }
preserves-path = { path = "../preserves-path", version = "0.0.0" }
bytes = "1.0"
clap = "3.0.0-beta.2"

View File

@ -0,0 +1,5 @@
consolidate-commits=true
consolidate-pushes=true
tag-prefix="rust-{{crate_name}}"
tag-name="{{prefix}}@{{version}}"
dev-version-ext="dev.0"