mirror of https://github.com/zulip/zulip.git
build-release-tarball: Reorder a bit for clarity.
This puts our fiddling with the update-prod-static logfiles immediately after we run update-prod-static.
This commit is contained in:
parent
93fbffebd7
commit
5a2f3fe9c2
|
@ -105,14 +105,15 @@ ln -nfs "$BUILD_PROD_STATIC_LOGPATH" "$USER_PROD_STATIC_LOGPATH"
|
|||
echo -e "Check ${TMPDIR}/update-prod-static.log for more information.\033[0m"
|
||||
exit 1
|
||||
)
|
||||
echo "$GITID" > build_id
|
||||
echo "$version" > version
|
||||
rm -f "$USER_PROD_STATIC_LOGPATH"
|
||||
mv "$BUILD_PROD_STATIC_LOGPATH" "$USER_PROD_STATIC_LOGPATH"
|
||||
|
||||
# We don't need duplicate copies of emoji with hashed paths, and they would break bugdown
|
||||
find prod-static/serve/generated/emoji/images/emoji/ -regex '.*\.[0-9a-f]+\.png' -delete
|
||||
|
||||
echo "$GITID" > build_id
|
||||
echo "$version" > version
|
||||
|
||||
cd "$TMPDIR"
|
||||
|
||||
tar --append -f "$TARBALL" "$prefix/prod-static" "$prefix/build_id" "$prefix/version" "$prefix/staticfiles.json" "$prefix/templates/zerver/emails/compiled" "$prefix/webpack-stats-production.json"
|
||||
|
|
Loading…
Reference in New Issue