New dev format - macos.

This commit is contained in:
Martin Rotter 2017-11-14 10:24:42 +01:00
parent 870bd1a31c
commit 8f5be1a9e2
2 changed files with 12 additions and 4 deletions

View File

@ -9,9 +9,9 @@ if test "$TRAVIS_OS_NAME" = "osx"; then
brew link --force qt5
brew install curl
brew link --force curl
brew uninstall gnu-sed
brew install gnu-sed --with-default-names
brew link --force gnu-sed
#brew uninstall gnu-sed
#brew install gnu-sed --with-default-names
#brew link --force gnu-sed
else
# Linux.
sudo add-apt-repository ppa:beineri/opt-qt591-trusty -y

View File

@ -34,7 +34,15 @@ git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/
url=$(curl --upload-file "./$dmgname" "https://transfer.sh/$dmgnamenospace" --silent)
echo "| $(date +'%m-%d-%Y %T') | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh]($url) | $(echo "$USE_WEBENGINE") | "$'\r' >> ./build-wiki/Mac-OS-X-development-builds.md
wikiline="| Mac OS | $(date +'%m-%d-%Y %T') | [$git_revision](https\://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh]($url) | $(echo "$USE_WEBENGINE") | "
wikifile="./build-wiki/Development-builds.md"
wikifilenew="./build-wiki/Development-builds.md.new"
echo "Line to add: $wikiline"
cat "$wikifile" | sed -e "s@| Mac OS | .\+$USE_WEBENGINE | @$wikiline@g" > "$wikifilenew"
cat "$wikifilenew"
#mv "$wikifilenew" "$wikifile"
cd ./build-wiki
git add *.*