Skip to content

Commit

Permalink
feat(release): Updated release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantimex committed Oct 25, 2017
1 parent 22df144 commit 67d87d9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 989 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ script:
- npm run test
after_success:
- npm run coverage
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "javascript-problems-and-solutions",
"version": "1.3.1",
"version": "1.5.0",
"description": "A collection of JavaScript problems and solutions for studying algorithms.",
"main": "index.js",
"repository": "https://github.com/jeantimex/javascript-problems-and-solutions.git",
Expand All @@ -11,7 +11,9 @@
"mocha": "cross-env NODE_ENV=test ./node_modules/.bin/nyc mocha ./src/**/*-test.js",
"test": "npm run lint && npm run mocha",
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"
},
"devDependencies": {
"babel": "^6.23.0",
Expand All @@ -28,10 +30,9 @@
"cross-env": "^5.0.5",
"eslint": "^4.9.0",
"eslint-plugin-prettier": "^2.3.1",
"inquirer": "^3.3.0",
"generate-changelog": "^1.5.0",
"mocha": "^4.0.1",
"nyc": "^11.2.1",
"prettier": "^1.7.4",
"semantic-release": "^8.2.0"
"prettier": "^1.7.4"
}
}

0 comments on commit 67d87d9

Please sign in to comment.