Skip to content

Commit

Permalink
Merge pull request #3894 from joostjager/bump-version
Browse files Browse the repository at this point in the history
build: bump version to 0.9.0-beta
  • Loading branch information
joostjager authored Jan 8, 2020
2 parents 658803f + c45b841 commit 10f561d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions build/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ else
LND_VERSION="v${BASH_REMATCH[1]}"
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.
if [[ $TAG != $LND_VERSION ]]; then
echo "lnd version $LND_VERSION does not match tag $TAG"
Expand Down
4 changes: 2 additions & 2 deletions build/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const semanticAlphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr
// versioning 2.0.0 spec (http://semver.org/).
const (
appMajor uint = 0
appMinor uint = 8
appPatch uint = 2
appMinor uint = 9
appPatch uint = 0

// appPreRelease MUST only contain characters from semanticAlphabet
// per the semantic versioning spec.
Expand Down

0 comments on commit 10f561d

Please sign in to comment.