mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
fx153: Stamp the git source repo and changeset for Windows packaging
Firefox's official-build source-repo.h generator only auto-detects Mercurial, so building from our git checkout left the file empty and packaging failed with "no preprocessor directives found". Derive MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET from git in the mozconfig so configure records them for any invocation, including a manual ./mach package.
This commit is contained in:
parent
ea30bbd2af
commit
d5aacafe3f
1 changed files with 6 additions and 0 deletions
|
|
@ -29,6 +29,12 @@ ac_add_options --disable-update-agent
|
|||
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export RELEASE_OR_BETA=1
|
||||
|
||||
# source-repo.h generation only auto-detects Mercurial; derive the git repo
|
||||
# and changeset here so official-build packaging can stamp the source
|
||||
# (otherwise source-repo.h is empty and packaging fails).
|
||||
export MOZ_SOURCE_REPO=$(git config --get remote.origin.url)
|
||||
export MOZ_SOURCE_CHANGESET=$(git rev-parse HEAD)
|
||||
MOZ_REQUIRE_SIGNING=
|
||||
|
||||
# Build updater without MAR signature verification
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue