Skip to content

Commit

Permalink
chore: add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvince committed Mar 28, 2016
1 parent 44e6de6 commit 496f04a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "awss3-deploy",
"version": "0.0.0",
"description": "Deploy artefacts with aws-cli to S3",
"main": "index.js",
"bin": "index.js",
"scripts": {
"test": "standard"
"test": "standard",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tlvince/awss3-deploy.git"
"url": "https://github.com/tlvince/awss3-deploy.git"
},
"keywords": [
"aws",
Expand All @@ -27,7 +27,8 @@
"homepage": "https://github.com/tlvince/awss3-deploy#readme",
"dependencies": {},
"devDependencies": {
"standard": "^5.4.1"
"standard": "^5.4.1",
"semantic-release": "^4.3.5"
},
"directories": {
"test": "test"
Expand Down

0 comments on commit 496f04a

Please sign in to comment.