Make Travis upload distribution tarball too.

This commit is contained in:
John Hood
2016-11-29 22:37:21 -05:00
parent f002e3bb30
commit 1710c1a107
+2 -1
View File
@@ -82,7 +82,7 @@ script:
shasum -a 256 "${TRAVIS_TAG}.pkg" "${TRAVIS_TAG}-build-report.tbz" shasum -a 256 "${TRAVIS_TAG}.pkg" "${TRAVIS_TAG}-build-report.tbz"
) )
fi fi
# Deploy the OS X package to a GitHub release. # Deploy the OS X package and distribution tarball to a GitHub release.
deploy: deploy:
provider: releases provider: releases
api_key: api_key:
@@ -91,6 +91,7 @@ deploy:
skip_cleanup: true skip_cleanup: true
# Using a shell variable in deploy.file is undocumented but seems to work. # Using a shell variable in deploy.file is undocumented but seems to work.
file: file:
- ${TRAVIS_TAG}.tar.gz
- macosx/${TRAVIS_TAG}.pkg - macosx/${TRAVIS_TAG}.pkg
- macosx/${TRAVIS_TAG}-build-report.tbz - macosx/${TRAVIS_TAG}-build-report.tbz
on: on: