allow to oush to 1.0.0
This commit is contained in:
@@ -150,10 +150,7 @@ jobs:
|
|||||||
LATEST_MAJOR="0"
|
LATEST_MAJOR="0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${BUMP_TYPE:-}" != "major" ] && [ "$TAG_MAJOR" != "$LATEST_MAJOR" ]; then
|
|
||||||
echo "Error: major version must stay v$LATEST_MAJOR.x.x (got $TAG)"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if git rev-parse -q --verify "refs/tags/$TAG" >/dev/null; then
|
if git rev-parse -q --verify "refs/tags/$TAG" >/dev/null; then
|
||||||
i=1
|
i=1
|
||||||
|
|||||||
Reference in New Issue
Block a user