diff --git a/.travis.yml b/.travis.yml index 2377712..864a161 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,3 +74,13 @@ script: # Post on IRC when Travis builds finish. notifications: irc: "irc.freenode.org#backgroundmusic" +# Upload the .pkg and dSYM zip to GitHub. +deploy: + provider: releases + api_key: + secure: j5GdMTkJI/9lfGMcAW4dnBnfNSW0EUGSuaKSXw49FfjfcshLL2RFxIbQkyA7QqjoJm6ohstU3tOCo7c9FrqIWjE/+5itGJpq7NXDRxFtd2qzcli1u+1IRvQUZJ4VYC9982pSS0IUynK9/f0rhbdkWsCuXWIjoClYPBRscc8soDBJvkDbfilPFfFgkc8TuSmtGDCdu9coGVi6b9HuTLNQU0g5DZkjmv71Vj3SwJ2CmvOk3GFfV1SjvG2SRgBDwyP1g9MRGRiNYkmK9lJRgsq2KLluzb04lt22x8RIcZ+kZYOQVmgDlCeWlOcXi0iz1wU/QzdoYFEAnJdG4q0hqKeqIi+p8Tc31nHPuc1ZlYpifzMQ6KuOoOP19eceJwriAT133t2RSB3Rl3nxh9bymNPNyQ2dJwGNFtO68f3aZsuE5L92lVgW/ipZ6e5Sw1ovXldR04mxNtyY4WvFXFlkn/776tKV0vgAubsHfceGM/aRoBj+E2gDvqkFqIR8wrZAZEeSM2reMHPMx5ICFppIZ8dCIVjF5bsxZQsbojY+LXV8BUU5kLAou0yD7Q+lHi9r3HYdN90+cC02HKGFYzsIiMAyf4IAngnLhwmmrLOwr3wWdACjYTJhznAZGNJh4lCeB4dx85iyj3EexJ6J/DL1k2+ZNKyMN3+i/215t+AvSsXuw5U= + file: Background-Music-*/* + on: + repo: kyleneideck/BackgroundMusic + + diff --git a/package.sh b/package.sh index 49edca3..cea12b3 100755 --- a/package.sh +++ b/package.sh @@ -53,6 +53,7 @@ version="$(/usr/libexec/PlistBuddy \ -c "Print CFBundleShortVersionString" \ "BGMApp/build/Release/Background Music.app/Contents/Info.plist")" +# Everything in out_dir at the end of this script will be released in the Travis CI builds. out_dir="Background-Music-$version" rm -rf "$out_dir" mkdir "$out_dir"