From bbca79d92eee66e91ee438a2aca4c1c40f78ab54 Mon Sep 17 00:00:00 2001 From: Shubham Padia Date: Wed, 1 Oct 2025 06:15:53 +0000 Subject: [PATCH] help: Include dist in release tarball and exclude source code. 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. --- tools/build-release-tarball | 4 +++- tools/release-tarball-exclude.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/build-release-tarball b/tools/build-release-tarball index a74568ec6d..9f011a3abd 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 9acd9cf08e..bc49998d3c 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/