Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: correct --no-color

Myles Scolnickbf4b8a5874d7
diff --git a/scripts/release.sh b/scripts/release.sh
index 9397d89c0d..ce48daa200 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -77,9 +77,7 @@ git pull origin main
print_step "Updating version"
echo -e "Running: hatch version $VERSION_TYPE\n"
hatch version $VERSION_TYPE
-NEW_VERSION=$(hatch version) # re-run to get the version
-# Strip any color codes from version
-NEW_VERSION=$(echo "$NEW_VERSION" | sed 's/\x1b\[[0-9;]*m//g')
+NEW_VERSION=$(hatch --no-color version) # re-run to get the version
# Summary and confirmation
echo -e "\n${BOLD}Release Summary:${NC}"