rssguard/resources/scripts/.travis-install-osx.sh
2016-08-26 07:40:21 +02:00

21 lines
650 B
Bash
Executable File

#!/bin/sh
mkdir rssguard-build && cd rssguard-build
qmake ..
make
make install
macdeployqt rssguard.app -dmg
mv rssguard.dmg rssguard-osx.dmg
ls -lha
git config --global user.email "rotter.martinos@gmail.com"
git config --global user.name "martinrotter"
git clone -q --depth=1 --branch=build-artifacts https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.git ./build-artifacts
curl --upload-file ./rssguard-osx.dmg https://transfer.sh/rssguard-osx.dmg --silent >> ./build-artifacts/macosx-builds.txt
cat ./build-artifacts/macosx-builds.txt
cd ./build-artifacts
git add *.txt
git commit -m "New files."
git push origin build-artifacts