2016-08-24 12:30:11 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
mkdir rssguard-build && cd rssguard-build
|
|
|
|
qmake ..
|
|
|
|
make
|
2017-04-05 07:27:23 +02:00
|
|
|
make install
|
2017-10-09 11:11:17 +02:00
|
|
|
|
2017-10-09 11:29:15 +02:00
|
|
|
rm -rfv "RSS Guard.app/Contents/Frameworks"
|
|
|
|
|
|
|
|
ls "RSS Guard.app/Contents"
|
2017-10-09 11:11:17 +02:00
|
|
|
|
2017-10-09 10:38:07 +02:00
|
|
|
make zip
|
2017-10-09 12:14:19 +02:00
|
|
|
make dmg
|
2017-10-09 11:50:47 +02:00
|
|
|
|
2017-10-09 12:14:19 +02:00
|
|
|
#hdiutil create -fs HFS+ -srcfolder "./RSS Guard.app/" -volname "RSS Guard" rssguard.dmg
|
2017-10-09 11:50:47 +02:00
|
|
|
#make dmg
|
2016-08-26 06:31:05 +02:00
|
|
|
|
2016-08-24 12:51:12 +02:00
|
|
|
ls -lha
|
2017-06-27 06:30:22 +02:00
|
|
|
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
2016-09-23 07:17:20 +02:00
|
|
|
|
2017-06-27 06:30:22 +02:00
|
|
|
cd "RSS Guard.app"
|
2017-04-05 07:27:23 +02:00
|
|
|
ls -lha
|
|
|
|
|
2017-04-05 07:49:24 +02:00
|
|
|
cd ..
|
|
|
|
|
2016-08-26 07:40:21 +02:00
|
|
|
git config --global user.email "rotter.martinos@gmail.com"
|
|
|
|
git config --global user.name "martinrotter"
|
2016-08-29 13:07:18 +02:00
|
|
|
git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
|
2016-09-26 07:47:24 +02:00
|
|
|
|
2017-06-29 06:41:49 +02:00
|
|
|
set -- *.dmg
|
2016-09-26 08:06:52 +02:00
|
|
|
dmgname="$1"
|
2017-06-27 07:09:21 +02:00
|
|
|
dmgnamenospace="${dmgname// /-}"
|
|
|
|
echo "DMGNAME IS: $dmgname"
|
|
|
|
echo "DMGNAME NO SPACE IS: $dmgnamenospace"
|
2016-09-26 07:47:24 +02:00
|
|
|
|
2017-06-27 07:09:21 +02:00
|
|
|
curl --upload-file "./$dmgname" "https://transfer.sh/$dmgnamenospace" --silent >> ./build-wiki/Mac-OS-X-development-builds.md
|
2017-09-07 09:34:02 +02:00
|
|
|
echo "\n" >> ./build-wiki/Mac-OS-X-development-builds.md
|
2017-10-09 10:38:07 +02:00
|
|
|
|
|
|
|
set -- *.zip
|
|
|
|
zipname="$1"
|
|
|
|
zipnamenospace="${zipname// /-}"
|
|
|
|
echo "ZIPNAME IS: $zipname"
|
|
|
|
echo "ZIPNAME NO SPACE IS: $zipnamenospace"
|
|
|
|
|
|
|
|
curl --upload-file "./$zipname" "https://transfer.sh/$zipnamenospace" --silent >> ./build-wiki/Mac-OS-X-development-builds.md
|
|
|
|
echo "\n" >> ./build-wiki/Mac-OS-X-development-builds.md
|
|
|
|
|
2016-08-29 13:07:18 +02:00
|
|
|
cat ./build-wiki/Mac-OS-X-development-builds.md
|
2016-08-25 22:31:51 +02:00
|
|
|
|
2016-08-29 13:07:18 +02:00
|
|
|
cd ./build-wiki
|
|
|
|
git add *.*
|
2016-08-25 22:31:51 +02:00
|
|
|
git commit -m "New files."
|
2017-09-10 12:01:10 +02:00
|
|
|
git pull origin master
|
2016-08-29 13:07:18 +02:00
|
|
|
git push origin master
|