mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
repro: Allow dashes in the version number
This commit is contained in:
committed by
Rusty Russell
parent
15842d056d
commit
274540f556
@@ -51,7 +51,7 @@ else
|
||||
fi
|
||||
|
||||
PLATFORM="$OS"-"$VER"
|
||||
VERSION=$(git describe --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's,.*/clightning-\(v[0-9.rc]*\)$,\1,p')
|
||||
VERSION=$(git describe --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's,.*/clightning-\(v[0-9.rc\-]*\)$,\1,p')
|
||||
|
||||
# eg. ## [0.6.3] - 2019-01-09: "The Smallblock Conspiracy"
|
||||
# Skip 'v' here in $VERSION
|
||||
|
||||
Reference in New Issue
Block a user