Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add scripts to package helm chart (#4862)

h3n4l4a8ff24d230d
diff --git a/scripts/package_helm.sh b/scripts/package_helm.sh
new file mode 100755
index 0000000000..9959ae0014
--- /dev/null
+++ b/scripts/package_helm.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Exit on error
+set -e
+
+# Get current absolute path
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+
+# Goto ../helm-charts directory and package the helm chart.
+cd $DIR/../helm-charts && helm package bytebase && mv bytebase-*.tgz $DIR/../docs/
+
+# Goto ../docs directory and update the index.yaml
+cd $DIR/../docs && helm repo index .