-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (24 loc) · 1.36 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: swift
osx_image: xcode11.3
before_script:
- go get github.com/magefile/mage
- mkdir build
- ./add-signing-cert.sh
- /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $TRAVIS_BUILD_NUMBER" Panoptes/Info.plist
- if [[ "${TRAVIS_TAG}" == v* ]] ; then /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${TRAVIS_TAG:1}" Panoptes/Info.plist ; fi
script:
- "`go env GOPATH`/bin/mage -v build"
before_deploy:
- "`go env GOPATH`/bin/mage -v notarize"
- "`go env GOPATH`/bin/mage -v staple"
deploy:
provider: releases
api_key:
secure: 0vNDVokWEvo8+fBtWgX0kF2x8fU7k2Y+cG+EZ5yke/SswIsraEN/0fa8bAdFyiWj67lQnc9LDUt6SRq0rra7wLK0cFSZB4OSeqPHLOx94CTXQoBOSC27VQVBTJdX9YIoj2BFcEvJNEPZtn/XaTYoV4Zp1ZbzFI1b4n/oI2VEl5Q0Dv7fZkgumr5ROb3O2RAsIU736H7nDU8m6VUarSKe74kXUP+K+D2+H3U2c5+Fi3KBszSsV4AW0VQdBMYDVfGsObhUrrgLXkLLcOUjzh9Xx3UrE1b94z7PMdjw6MB8a2AbSxc9ifK1LAlri1BlKEdun7PvQB+sFMrLdoSoDlGp56rnOwWoKE1U0qEunlO3DD/caxkzkqDj7MAYL8bEifHcVR0gWb93p80YHbXbgNHEJnK579491CofFy3i2gRhDYzaDsC+m3uDqRSDB2BUkQ9c02AyaI8Q37uoQ764roZ+u1jLZw+Z3rIr+ultCYm3JIbw61i0Z5bEaa2FsVHva6JcWTJ4Uluy8uNiEUUhdLZiQUL3VdM+WXcy9gN+TbDOwZi9amXjrX4V3inCv541iR4FH4slLMNU2ggkobdrjnaYseMeSdAkSv1x2pv2Q8BLgS/LeplQt8T2hiXW07FSZ2MM7cVaeWk6G7hLu/fwtVLtq2nx4iqljhQRmZ+oyNcKsq4=
file: "Panoptes.saver.zip"
skip_cleanup: true
draft: true
on:
repo: jamesdobson/panoptes
tags: true
branch: master