Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Include dist in release tarball and exclude source code.

Shubham Padiabbca79d92eee
diff --git a/tools/build-release-tarball b/tools/build-release-tarball
index a74568ec6db..9f011a3abd4 100755
--- a/tools/build-release-tarball
+++ b/tools/build-release-tarball
@@ -109,7 +109,9 @@ echo "$version" >version
cd "$OUTPUT_DIR"
-tar --append -f "$TARBALL" "$prefix/prod-static" "$prefix/build_id" "$prefix/version" "$prefix/zulip-git-version" "$prefix/locale" "$prefix/staticfiles.json" "$prefix/webpack-stats-production.json"
+# We don't include starlight_help/dist_no_relative_links since that is only useful for zulip.com
+# and zulip.com doesn't use tarballs for deployment.
+tar --append -f "$TARBALL" "$prefix/prod-static" "$prefix/build_id" "$prefix/version" "$prefix/zulip-git-version" "$prefix/locale" "$prefix/staticfiles.json" "$prefix/webpack-stats-production.json" "$prefix/starlight_help/dist"
rm -rf "$prefix"
diff --git a/tools/release-tarball-exclude.txt b/tools/release-tarball-exclude.txt
index 9acd9cf08ec..bc49998d3cc 100644
--- a/tools/release-tarball-exclude.txt
+++ b/tools/release-tarball-exclude.txt
@@ -11,3 +11,4 @@ puppet/kandra
zproject/dev_settings.py
zproject/test_settings.py
zerver/tests
+starlight_help/