Skip to content

Commit 6adb3c6

Browse files
authored
Update release script (bentoml#1114)
1 parent 0fa6b99 commit 6adb3c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/release_pypi.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ SEMVER_REGEX="^[vV]?(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(\\-[0-9A
1313
if [[ "$VERSION_STR" =~ $SEMVER_REGEX ]]; then
1414
echo "Releasing bentoml version v$VERSION_STR:"
1515
else
16-
echo "Version $VERSION_STR must follow semantic versioning schema"
17-
exit 1
16+
echo "Warning: version $VERSION_STR must follow semantic versioning schema, ignore this for preview releases"
1817
fi
1918

2019
GIT_ROOT=$(git rev-parse --show-toplevel)

0 commit comments

Comments
 (0)