accept lightweight tags
This commit is contained in:
1 parent
d31a4ea331
commit
50d94529bf
1 file changed
+1
-1
+1
-1
@@ -10,7 +10,7 @@ RELEASE_DESCRIPTION="Weaving Containers into Applications"
|
|||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
## Get the new version number from the most recent tag
|
## Get the new version number from the most recent tag
|
||||||
if ! LATEST_TAG=$(git describe --abbrev=0 --match='v*' 2>/dev/null) ; then
|
if ! LATEST_TAG=$(git describe --tags --abbrev=0 --match='v*' 2>/dev/null) ; then
|
||||||
echo "Could not find a 'v*' version tag." >&2
|
echo "Could not find a 'v*' version tag." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user