Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit b30f1bc

Browse files
committed
mac pkg: use the VERSION defined in configuration
Signed-off-by: Wang Xu <[email protected]>
1 parent aaf61db commit b30f1bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: mac_installer/Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ pkg-local:
44
mkdir -p dist/opt/hyper/examples
55
cp ../hyper ../hyperd dist/opt/hyper/bin/
66
cp ../examples/* dist/opt/hyper/examples/
7-
pkgbuild --identifier sh.hyper.hyper --version 0.4.0 --ownership recommended --root dist --scripts scripts output.pkg
8-
productbuild --distribution distribution.xml --resources resources --package-path output.pkg --version 0.4.0 ../hyper.pkg
7+
pkgbuild --identifier sh.hyper.hyper --version $(VERSION) --ownership recommended --root dist --scripts scripts output.pkg
8+
productbuild --distribution distribution.xml --resources resources --package-path output.pkg --version $(VERSION) ../hyper.pkg
99
endif

Diff for: mac_installer/distribution.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
<choice id="sh.hyper.hyper" visible="false">
3131
<pkg-ref id="sh.hyper.hyper"/>
3232
</choice>
33-
<pkg-ref id="sh.hyper.hyper" version="0.4.0" onConclusion="none">output.pkg</pkg-ref>
33+
<pkg-ref id="sh.hyper.hyper" onConclusion="none">output.pkg</pkg-ref>
3434
</installer-gui-script>

0 commit comments

Comments
 (0)