deploy to github on tags

This commit is contained in:
Alex Grintsvayg 2018-08-07 12:25:02 -04:00
parent e9ce0d5afa
commit 33765b967b

View file

@ -17,7 +17,9 @@ go:
install: true install: true
matrix: matrix:
# It's ok if our code fails on unstable development versions of Go. include:
- go: 'master'
env: SKIP_DEPLOY=true # dont deploy tip build
allow_failures: allow_failures:
- go: master - go: master
# Don't wait for tip tests to finish. Mark the test run green if the # Don't wait for tip tests to finish. Mark the test run green if the
@ -69,3 +71,13 @@ script:
- unconvert ./... - unconvert ./...
# one last linter - ignore autogen code # one last linter - ignore autogen code
#- golint -set_exit_status $(go list ./... | grep -v /vendor/ ) #- golint -set_exit_status $(go list ./... | grep -v /vendor/ )
deploy:
- provider: releases
file: prism-bin
skip_cleanup: true
on:
tags: true
condition: "$SKIP_DEPLOY != true"
api_key:
secure: "ibN+PQg84f0tgJLV3KaHjkHmgFNOPqBLIrSU42moen22xxT2VIn0j7DkFaLLts1fs/+/gxmrvhOQ0vUFJqmflZ3kCeyedP/CVgZz7D7HRVK0cYUMJ2F9VWMZAFIX6A67OUlypqZqzKAKrZHx3HXky6Z8NBU23JgWqDm8PcrbbgMLvB2lvWVASjJVKreaL9BOxFOOOrAj6xAIm9ogTOnFVI/AhufNOKOTZaiprcbqMngwHeaILbwEJVqv5P2YUurC6Sq+QaH26tX00DtsYOW+n8AA3Fe48+L6rqa6Q8ru+dhPuR/Apr2+DTZ+npzY8leV3A7mYUeLo4JLaEH6n1TLVt65cX7nuesS7KsSKBSxs7q7bsqeapDcMskZz5JR4EK4S96CuHZEnn6+efpH8IrxWpbeO3EibJfyT8tMJKw7Zym5mPr+sz6xSlVMoBVcCm+7z9e7Zcqukdvdy8jM7sGP9qusqEhpojh0o+gPgr9p13SfR+6OCpj9gwxPCnZO8RBfh1cbz9vFSVlDyUYcpI2CCCpPazA1glTsEDk+VtznnUMmWksXWfxBFV81jQB2SnoZKlnsiEuNMwhiMCMEkRFo74+AsUr2UjmKJ5KC8ACwsn475PoLZBh2J6fyXBHMdbrGfK+Zt5K2IHRRtDaZVT4eHqYzxh8KhalsuBNxCo3FygI="