diff --git a/python/xgrammar/version.py b/python/xgrammar/version.py index 1412b55..535eca0 100644 --- a/python/xgrammar/version.py +++ b/python/xgrammar/version.py @@ -20,7 +20,7 @@ # --------------------------------------------------- -__version__ = "0.1.5" +__version__ = "0.1.9" PROJ_ROOT = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) diff --git a/scripts/release_new_version.sh b/scripts/release_new_version.sh index 3a1b7d6..51f8a63 100755 --- a/scripts/release_new_version.sh +++ b/scripts/release_new_version.sh @@ -10,8 +10,8 @@ if [ -z "$1" ]; then exit 1 fi +# Fetch and checkout main branch git fetch origin main -git checkout FETCH_HEAD -git commit -m "Tag $1" --allow-empty +git checkout main git tag $1 HEAD git push origin $1