Skip to content

Commit a0fde10

Browse files
committed
travis: Append $TRAVIS_COMPILER to the release binary name
1 parent ac71bd3 commit a0fde10

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ script:
156156
# EOF
157157

158158
before_deploy:
159-
- cp $(find dist-newstyle/ -type f -name threadscope -exec test -x {} \; -print) threadscope.$TRAVIS_OS_NAME
160-
- gzip -f threadscope.$TRAVIS_OS_NAME
159+
- cp $(find dist-newstyle/ -type f -name threadscope -exec test -x {} \; -print) threadscope.$TRAVIS_OS_NAME.$TRAVIS_COMPILER
160+
- gzip -f threadscope.$TRAVIS_OS_NAME.$TRAVIS_COMPILER
161161

162162
deploy:
163163
provider: releases
164164
api_key:
165165
secure: RzNO2ZivMrDR5JZUZI/Dquc5B1QaMm9BIB06jKOLM/IxeoRKf8HXw1+OqTmMzssGdOxXDTsY7wpagVXD31Y+7K6b1f/zKzTIPwLC/W3QTj1ooFOMqwELGZZxnZPFDld68K/O+jOuJZZZ8QMEJPMfKRR/7vVOWvM/L0h9jIeY8Vo=
166-
file: threadscope.$TRAVIS_OS_NAME.gz
166+
file: threadscope.$TRAVIS_OS_NAME.$TRAVIS_COMPILER.gz
167167
skip_cleanup: true
168168
on:
169169
repo: haskell/ThreadScope

.travis/deploy.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ index d21f854..6443253 100644
88
# EOF
99
+
1010
+before_deploy:
11-
+ - cp $(find dist-newstyle/ -type f -name threadscope -exec test -x {} \; -print) threadscope.$TRAVIS_OS_NAME
12-
+ - gzip -f threadscope.$TRAVIS_OS_NAME
11+
+ - cp $(find dist-newstyle/ -type f -name threadscope -exec test -x {} \; -print) threadscope.$TRAVIS_OS_NAME.$TRAVIS_COMPILER
12+
+ - gzip -f threadscope.$TRAVIS_OS_NAME.$TRAVIS_COMPILER
1313
+
1414
+deploy:
1515
+ provider: releases
1616
+ api_key:
1717
+ secure: RzNO2ZivMrDR5JZUZI/Dquc5B1QaMm9BIB06jKOLM/IxeoRKf8HXw1+OqTmMzssGdOxXDTsY7wpagVXD31Y+7K6b1f/zKzTIPwLC/W3QTj1ooFOMqwELGZZxnZPFDld68K/O+jOuJZZZ8QMEJPMfKRR/7vVOWvM/L0h9jIeY8Vo=
18-
+ file: threadscope.$TRAVIS_OS_NAME.gz
18+
+ file: threadscope.$TRAVIS_OS_NAME.$TRAVIS_COMPILER.gz
1919
+ skip_cleanup: true
2020
+ on:
2121
+ repo: haskell/ThreadScope

0 commit comments

Comments
 (0)