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.
This commit is contained in:
Shubham Padia
2025-10-01 06:15:53 +00:00
committed by Tim Abbott
parent 024559e1b9
commit bbca79d92e
2 changed files with 4 additions and 1 deletions

View File

@@ -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"

View File

@@ -11,3 +11,4 @@ puppet/kandra
zproject/dev_settings.py
zproject/test_settings.py
zerver/tests
starlight_help/