Skip to content

Commit

Permalink
chore: remove travis specific release comment in favour of bespoke se…
Browse files Browse the repository at this point in the history
…quence
  • Loading branch information
devonChurch committed May 21, 2018
1 parent 5b74f6d commit a60e177
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ script:
- npm run build:production

after_success:
- npm run travis-deploy-once "npm run semantic-release -- --debug"
# - npm run travis-deploy-once "npm run semantic-release -- --debug"
- npm run semantic-release pre -- --debug
- cp ./package.json ./dist/package.json
- cp ./package-lock.json ./dist/package-lock.json"
- npm publish ./dist
- npm run semantic-release post -- --debug

branches:
except:
Expand Down
14 changes: 1 addition & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"test": "echo \"Error: no test specified\" && exit 0",
"deploy": "semantic-release",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once",
"postpublish": "cp -r dist/package.json . && cp -r dist/package-lock.json ."
"travis-deploy-once": "travis-deploy-once"
},
"repository": {
"type": "git",
Expand All @@ -38,16 +37,5 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"verifyConditions": [
"@semantic-release/npm"
],
"publish": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
}
]
}
}

0 comments on commit a60e177

Please sign in to comment.