mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
Fix branch detection when setting the canary icon (#2499)
* Fix branch detection * Use the canary icon on Windows as well * Add missing space * `TRAVIS_BRANCH` will be `canary` when a PR targets such branch
This commit is contained in:
parent
0549ded2c4
commit
0d5dba5cd8
1 changed files with 2 additions and 1 deletions
|
|
@ -33,9 +33,10 @@ install:
|
||||||
- yarn
|
- yarn
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ "$TRAVIS_BRANCH" == "canary" ]]; then cp build/canary.icns build/icon.icns; fi
|
- (git branch --contains $TRAVIS_COMMIT | grep canary > /dev/null || [[ "$TRAVIS_BRANCH" == "canary" ]] ) && (cd build; cp canary.icns icon.icns; cp canary.ico icon.ico)
|
||||||
- yarn run dist
|
- yarn run dist
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue