Skip to content

Commit

Permalink
Use tagname on report tarball too. Use bzip2.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgull committed Nov 5, 2016
1 parent 63c846b commit 0bc0308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ before_script:
(
set -e
if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then
rm -rf macosx/build-report macosx/build-report.tgz
rm -rf macosx/build-report "macosx/${TRAVIS_TAG}-build-report.tbz"
mkdir macosx/build-report
cd macosx/build-report
../brew-deps.sh describe
../osx-xcode.sh describe
tar -czf ../build-report.tgz .
tar -cjf "../${TRAVIS_TAG}-build-report.tbz" .
fi
)
Expand Down Expand Up @@ -93,7 +93,7 @@ deploy:
# Using a shell variable in deploy.file is undocumented but seems to work.
file:
- macosx/${TRAVIS_TAG}.pkg
- macosx/build-report.tgz
- macosx/${TRAVIS_TAG}-build-report.tbz
on:
repo: cgull/mosh
tags: true
Expand Down

0 comments on commit 0bc0308

Please sign in to comment.