more versioning fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-12-30 12:33:13 +01:00
parent 929161f030
commit 1a2aaad5a1
3 changed files with 10 additions and 6 deletions

View File

@ -4,9 +4,13 @@ Versioning
Note that the following applies *per crate*, since each crate is its own debian package:
The first commit after a release should bump the version to the next patch level with a ``-dev.1``
suffix for the crate *and for the proxmox crate*:
suffix for the crate *and for the proxmox crate*, as well as all crates depending on it. For
instance, ``proxmox-api`` depends on ``proxmox-tools``, so bumpgin ``proxmox-tools`` to a new `dev`
version also requires bumping ``proxmox-api`` to a new dev version, since cargo requires
pre-release versions to be selected explicitly:
0.1.0 -> 0.1.1-dev.1
First commit after release: 0.1.0 -> 0.1.1-dev.1
Version bump commit: 0.1.1-dev.1 -> 0.1.1
It is unlikely that we'll need more than one .dev version, but it may be useful at some point, so
we'll include teh ``.1``.

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox-api"
edition = "2018"
version = "0.1.0"
version = "0.1.1-dev.1"
authors = [ "Wolfgang Bumiller <w.bumiller@proxmox.com>" ]
[dependencies]
@ -9,7 +9,7 @@ bytes = "0.5"
failure = "0.1"
futures = "0.3"
http = "0.2"
proxmox-tools = { version = "0.1", path = "../proxmox-tools" }
proxmox-tools = { version = "0.1.1-dev.1", path = "../proxmox-tools" }
regex = "1.2"
rustyline = "5.0.5"
serde = "1.0"

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox-sys"
edition = "2018"
version = "0.1.0"
version = "0.1.1-dev.1"
authors = [
"Dietmar Maurer <dietmar@proxmox.com>",
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
@ -11,7 +11,7 @@ authors = [
failure = "0.1"
lazy_static = "1.4"
libc = "0.2"
proxmox-tools = { path = "../proxmox-tools" }
proxmox-tools = { version = "0.1.1-dev.1", path = "../proxmox-tools" }
# Docs should be able to reference the proxmox crate.
[dev-dependencies]