rssguard/resources/scripts/.travis-install-osx.sh

23 lines
697 B
Bash
Raw Normal View History

2016-08-24 12:30:11 +02:00
#!/bin/sh
mkdir rssguard-build && cd rssguard-build
qmake ..
make
make install
2016-08-25 22:31:51 +02:00
macdeployqt rssguard-osx.app -dmg
2016-08-24 12:51:12 +02:00
ls -lha
2016-08-25 22:31:51 +02:00
git clone -q --depth=1 --branch=build-artifacts https://github.com/martinrotter/rssguard.git
git config --global credential.helper "store --file=github_credentials"
echo "https://${GH_TOKEN}:@github.com" > github_credentials
git config --global user.email "rotter.martinos@gmail.com"
git config --global user.name "martinrotter"
curl --upload-file ./*.dmg https://transfer.sh/rssguard.dmg --silent >> ./build-artifacts/macosx-builds.txt
cat ./build-artifacts/macosx-builds.txt
cd ./rssguard-artifacts
git add *.*
git commit -m "New files."
git push origin build-artifacts