From 1fa852f7a0169f05746d26fb9c1ac7aa39af4309 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 2 Oct 2016 00:27:50 +1300 Subject: [PATCH] Update release process with version schema --- doc/release-process.md | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/doc/release-process.md b/doc/release-process.md index a5836cf3..f01e6d33 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -4,15 +4,16 @@ Meta: There should always be a single release engineer to disambiguate responsib ## A. Define the release version as: - $ ZCASH_RELEASE=${UPSTREAM_VERSION}.z${ZCASH_RELEASE_COUNTER} - + $ ZCASH_RELEASE=MAJOR.MINOR.REVISION(-BUILD_STRING) + Example: - $ ZCASH_RELEASE=0.11.2.z2 - -Also, the following commands use the ZCASH_RELEASE_PREV bash variable for the previous release: + $ ZCASH_RELEASE=1.0.0-beta2 - $ ZCASH_RELEASE_PREV=0.11.2.z1 +Also, the following commands use the `ZCASH_RELEASE_PREV` bash variable for the +previous release: + + $ ZCASH_RELEASE_PREV=1.0.0-beta1 ## B. create a new release branch / github PR ### B1. update (commit) version in sources @@ -21,8 +22,18 @@ Also, the following commands use the ZCASH_RELEASE_PREV bash variable for the pr src/clientversion.h configure.ac -In `configure.ac` and `clientversion.h` change CLIENT_VERSION_IS_RELEASE to -false while Zcash is in alpha-test phase. +In `configure.ac` and `clientversion.h`: + +- Increment `CLIENT_VERSION_BUILD` according to the following schema: + + - 0-24: `1.0.0-beta1`-`1.0.0-beta25` + - 25-49: `1.0.0-rc1-1.0.0-rc25` + - 50: `1.0.0` + - 51-99: `1.0.0-1`-`1.0.0-49` + - (`CLIENT_VERSION_REVISION` rolls over) + - 0-24: `1.0.1-beta1`-`1.0.1-beta25` + +- Change `CLIENT_VERSION_IS_RELEASE` to false while Zcash is in beta-test phase. ### B2. write release notes