Merge pull request #3894 from joostjager/bump-version

build: bump version to 0.9.0-beta
This commit is contained in:
Joost Jager 2020-01-08 20:56:15 +01:00 committed by GitHub
commit 10f561dbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

@ -36,6 +36,13 @@ else
LND_VERSION="v${BASH_REMATCH[1]}" LND_VERSION="v${BASH_REMATCH[1]}"
echo "version: $LND_VERSION" echo "version: $LND_VERSION"
# If tag contains a release candidate suffix, append this suffix to the
# lnd reported version before we compare.
RC_REGEX="-rc[0-9]+$"
if [[ $TAG =~ $RC_REGEX ]]; then
LND_VERSION+=${BASH_REMATCH[0]}
fi
# Match git tag with lnd version. # Match git tag with lnd version.
if [[ $TAG != $LND_VERSION ]]; then if [[ $TAG != $LND_VERSION ]]; then
echo "lnd version $LND_VERSION does not match tag $TAG" echo "lnd version $LND_VERSION does not match tag $TAG"

@ -22,8 +22,8 @@ const semanticAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr
// versioning 2.0.0 spec (http://semver.org/). // versioning 2.0.0 spec (http://semver.org/).
const ( const (
appMajor uint = 0 appMajor uint = 0
appMinor uint = 8 appMinor uint = 9
appPatch uint = 2 appPatch uint = 0
// appPreRelease MUST only contain characters from semanticAlphabet // appPreRelease MUST only contain characters from semanticAlphabet
// per the semantic versioning spec. // per the semantic versioning spec.