##// END OF EJS Templates
osx: stamp the hg version into the version field in the pkg...
Augie Fackler -
r29777:afa74947 default
parent child Browse files
Show More
@@ -164,10 +164,12 b' osx:'
164 164 --install-lib=/Library/Python/2.7/site-packages/
165 165 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
166 166 mkdir -p $${OUTPUTDIR:-dist}
167 pkgbuild --root build/mercurial/ --identifier org.mercurial-scm.mercurial \
168 build/mercurial.pkg
169 167 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
170 168 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
169 pkgbuild --root build/mercurial/ \
170 --identifier org.mercurial-scm.mercurial \
171 --version "$${HGVER}" \
172 build/mercurial.pkg && \
171 173 productbuild --distribution contrib/macosx/distribution.xml \
172 174 --package-path build/ \
173 175 --version "$${HGVER}" \
General Comments 0
You need to be logged in to leave comments. Login now