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-06-29 06:41:49 +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
|
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
|
2017-09-10 10:54:00 +02:00
|
|
|
git pull origin master
|
2016-08-29 13:07:18 +02:00
|
|
|
git add *.*
|
2016-08-25 22:31:51 +02:00
|
|
|
git commit -m "New files."
|
2016-08-29 13:07:18 +02:00
|
|
|
git push origin master
|