From 0881ca0a229f29d6a02b24ba0bb3e19f968293de Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 May 2018 13:54:51 +0200 Subject: Spec changes to versioning epoch format --- doc/manual.cli | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/manual.cli b/doc/manual.cli index 524b817..0d5b5ab 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -33,7 +33,7 @@ versioning and that allows automation of many version management tasks. See The \c{bpkg} package version has the following form: \ -[~][-][+][#] +[+-][-][+][#] \ The \i{epoch} part should be an integer. It can be used to change to a new @@ -89,9 +89,9 @@ It is assumed that this version will always be greater than the stub version. When displaying the package version or when using the version to derive the file name, zero \i{epoch}, \i{revision}, and \i{iteration} are omitted (even if they were explicitly specified, for instance, in the package manifest). For -example, \c{0~1.2.3+0} will be used as \c{libfoo-1.2.3}. +example, \c{+0-1.2.3+0} will be used as \c{libfoo-1.2.3}. -\N|This versioning scheme and the choice of delimiter characters (\c{~-+}) +\N|This versioning scheme and the choice of delimiter characters (\c{.-+}) is meant to align with semantic versioning.| Some examples of versions: @@ -105,11 +105,11 @@ Some examples of versions: 1.2.3-alpha.1 1.2.3-beta.1 1.2.3+1 -1~1.2.3 -1~1.2.3-alpha.1+3 -1.2.3#1 ++1-1.2.3 ++1-1.2.3-alpha.1+3 ++1.2.3#1 1.2.3+1#1 -1~1.2.3+1#2 ++1-1.2.3+1#2 \ The version sorting order is \i{epoch}, \i{upstream}, \i{prerel}, -- cgit v1.1