mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-05 10:41:03 -04:00
Reorder NPM deploy to first position
I think this should fix the odd "0.1.0-prerelease.####-prerelease.#####" version numbers.
This commit is contained in:
parent
9801aa1ded
commit
fc1a5ffc7d
1 changed files with 6 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
@ -26,12 +26,6 @@ jobs:
|
||||||
- git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
- git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
||||||
- git config --global user.name $(git log --pretty=format:"%an" -n1)
|
- git config --global user.name $(git log --pretty=format:"%an" -n1)
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
|
||||||
"on":
|
|
||||||
all_branches: true
|
|
||||||
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
|
|
||||||
skip_cleanup: true
|
|
||||||
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
|
||||||
- provider: npm
|
- provider: npm
|
||||||
"on":
|
"on":
|
||||||
all_branches: true
|
all_branches: true
|
||||||
|
@ -39,3 +33,9 @@ jobs:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
email: $NPM_EMAIL
|
email: $NPM_EMAIL
|
||||||
api_key: $NPM_TOKEN
|
api_key: $NPM_TOKEN
|
||||||
|
- provider: script
|
||||||
|
"on":
|
||||||
|
all_branches: true
|
||||||
|
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
|
||||||
|
skip_cleanup: true
|
||||||
|
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue