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: fix release, remoev colors

Myles Scolnickffc99f94ea24
diff --git a/scripts/release.sh b/scripts/release.sh
index a8042f2a38..ee85345a88 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -78,6 +78,8 @@ 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')
# Summary and confirmation
echo -e "\n${BOLD}Release Summary:${NC}"