Skip to content

Commit

Permalink
fix: replace semantic-release with autorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-johnson committed Mar 6, 2016
1 parent 4ea61ff commit f268b96
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .autoreleaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branch": "master",
"preset": "angular",
"pre": {
"verify": [
"autorelease-github/verify",
"autorelease-travis/verify"
]
},
"post": {
"publishChangelog": "autorelease-github/create-release"
}
}
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ notifications:
email: false
before_install:
- npm i -g npm@latest
install:
- npm upgrade
before_script:
- npm run lint
script:
- npm run build
after_success:
- npm run semantic-release
- npm run autorelease
branches:
only:
- "master"
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"lint": "eslint src/ test/",
"build": "make clean && make",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"autorelease": "autorelease pre && npm publish && autorelease post"
},
"dependencies": {
"cloud-env": "^0.2.1",
Expand All @@ -26,21 +26,23 @@
},
"devDependencies": {
"autoprefixer": "^6.3.3",
"autorelease": "^1.5.1",
"autorelease-github": "^1.1.1",
"autorelease-travis": "^1.2.0",
"babel-eslint": "^5.0.0",
"babel-plugin-external-helpers": "^6.5.0",
"babel-plugin-transform-async-to-generator": "^6.5.0",
"babel-plugin-transform-es2015-destructuring": "^6.5.0",
"babel-plugin-transform-es2015-parameters": "^6.5.0",
"babel-plugin-transform-object-rest-spread": "^6.5.0",
"clean-css": "^3.4.9",
"eslint": "^2.2.0",
"eslint": "~2.2.0",
"node-sass": "^3.4.2",
"postcss-cli": "^2.5.1",
"resolve": "^1.1.7",
"rollup": "^0.25.4",
"rollup-plugin-babel": "^2.4.0",
"tape": "^4.4.0",
"semantic-release": "^4.3.5"
"tape": "^4.4.0"
},
"keywords": [
"tyler",
Expand Down

0 comments on commit f268b96

Please sign in to comment.