Added dmg target and upload it.
This commit is contained in:
parent
7c79b8948f
commit
c598acc06c
@ -4,7 +4,7 @@ mkdir rssguard-build && cd rssguard-build
|
||||
qmake ..
|
||||
make
|
||||
make install
|
||||
make zip
|
||||
make dmg
|
||||
|
||||
ls -lha
|
||||
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
@ -18,7 +18,7 @@ git config --global user.email "rotter.martinos@gmail.com"
|
||||
git config --global user.name "martinrotter"
|
||||
git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
|
||||
|
||||
set -- *.zip
|
||||
set -- *.dmg
|
||||
dmgname="$1"
|
||||
dmgnamenospace="${dmgname// /-}"
|
||||
echo "DMGNAME IS: $dmgname"
|
||||
|
@ -613,7 +613,11 @@ mac {
|
||||
zip.depends = install
|
||||
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX))
|
||||
|
||||
QMAKE_EXTRA_TARGETS += seven_zip zip
|
||||
dmg.target = dmg
|
||||
dmg.depends = install
|
||||
dmg.commands = macdeployqt $$shell_quote($$shell_path($$PREFIX)) -dmg
|
||||
|
||||
QMAKE_EXTRA_TARGETS += seven_zip zip dmg
|
||||
}
|
||||
|
||||
# Create NSIS installer target on Windows.
|
||||
|
Loading…
x
Reference in New Issue
Block a user