Skip to content

Commit 4cc4bbc

Browse files
authored
Merge pull request #10877 from Roasbeef/bump-version-v0.21.99
build: bump master version to v0.21.99
2 parents 653b23c + c2941a9 commit 4cc4bbc

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

build/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const (
4444
AppMajor uint = 0
4545

4646
// AppMinor defines the minor version of this binary.
47-
AppMinor uint = 20
47+
AppMinor uint = 21
4848

4949
// AppPatch defines the application patch for this binary.
5050
AppPatch uint = 99

scripts/tag-release.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ VERSION_FILE="build/version.go"
1212

1313
# Match the canonical upstream URL across https / git@ / ssh:// forms, with or
1414
# without a `.git` suffix. We identify the remote by URL because `origin` is
15-
# conventionally the fork in a `gh repo fork` setup.
15+
# conventionally the fork in a `gh repo fork` setup. The URL is lower-cased
16+
# before matching (see below), so this pattern stays lower-case: GitHub treats
17+
# the org/repo as case-insensitive, and `origin` is often the mixed-case
18+
# `LightningNetwork/lnd`.
1619
UPSTREAM_URL_REGEX='[:/]lightningnetwork/lnd(\.git)?$'
1720

1821
usage() {
@@ -59,7 +62,7 @@ UPSTREAM_REMOTES=()
5962
while IFS= read -r line; do
6063
UPSTREAM_REMOTES+=("$line")
6164
done < <(git remote -v | awk -v re="${UPSTREAM_URL_REGEX}" \
62-
'$3 == "(fetch)" && $2 ~ re { print $1 }' | sort -u)
65+
'$3 == "(fetch)" && tolower($2) ~ re { print $1 }' | sort -u)
6366

6467
case "${#UPSTREAM_REMOTES[@]}" in
6568
0) echo "Error: no git remote points at lightningnetwork/lnd. Add one with" \

0 commit comments

Comments
 (0)