Skip to content

Commit

Permalink
fix: implement semantic-release through circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
csnyders committed Jul 25, 2016
1 parent 4ec1144 commit 4f32120
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
7 changes: 6 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
dependencies:
post:
- wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
- tar -xzf sc-latest-linux.tar.gz
- tar -xzf sc-latest-linux.tar.gz
deployment:
deployDev:
branch: dev
commands:
- npm run semantic-release
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"test": "grunt test",
"build": "grunt dist",
"semantic-release": "./node_modules/.bin/semantic-release pre && npm publish && ./node_modules/.bin/semantic-release post",
"test:local": "./node_modules/grunt-protractor-runner/scripts/webdriver-manager-update & grunt test-local"
},
"repository": {
Expand All @@ -30,6 +31,7 @@
},
"homepage": "https://github.com/OrdnanceSurvey/os-search",
"devDependencies": {
"condition-circle": "^1.2.0",
"grunt": "^0.4.5",
"grunt-angular-templates": "^0.5.7",
"grunt-concurrent": "^2.0.0",
Expand All @@ -43,12 +45,19 @@
"grunt-protractor-webdriver": "^0.2.5",
"grunt-timer": "^0.6.0",
"jasmine-reporters": "^2.0.7",
"last-release-git-tag": "craigsnyders/last-release-git-tag#feat-initial-implementation",
"protractor": "^2.1.0",
"sauce-connect-launcher": "^0.11.1"
"sauce-connect-launcher": "^0.11.1",
"semantic-release": "^4.3.5"
},
"dependencies": {},
"peerDependencies": {
"rx": "4.x",
"rx-angular": "1.1.x"
},
"release": {
"verifyConditions": "condition-circle",
"getLastRelease": "last-release-git-tag",
"branch": "dev"
}
}

0 comments on commit 4f32120

Please sign in to comment.