Skip to content

Commit 2fa8e8e

Browse files
committed
fix: use latest semantic release
1 parent e318cf4 commit 2fa8e8e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cache:
66
notifications:
77
email: true
88
node_js:
9-
- '6'
9+
- '8'
1010
before_install:
1111
- git config --global user.email "[email protected]"
1212
- git config --global user.name "Test Tester"

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
},
6464
"devDependencies": {
6565
"git-issues": "1.3.1",
66-
"github-post-release": "1.13.1",
6766
"grunt": "0.4.5",
6867
"grunt-cli": "0.1.13",
6968
"grunt-contrib-jshint": "1.1.0",
@@ -73,7 +72,8 @@
7372
"matchdep": "1.0.1",
7473
"mocha": "5.0.4",
7574
"next-update-travis": "1.7.1",
76-
"semantic-release": "6.3.6"
75+
"semantic-release": "^15.0.3",
76+
"travis-deploy-once": "^4.4.0"
7777
},
7878
"engines": {
7979
"node": "> 0.8.*"
@@ -98,8 +98,7 @@
9898
"license": "MIT",
9999
"main": "src/pre-git.js",
100100
"release": {
101-
"analyzeCommits": "simple-commit-message",
102-
"generateNotes": "github-post-release"
101+
"analyzeCommits": "simple-commit-message"
103102
},
104103
"repository": {
105104
"type": "git",
@@ -115,10 +114,11 @@
115114
"issues": "git-issues",
116115
"mocha": "mocha --harmony src/*-spec.js",
117116
"postinstall": "node src/install.js",
118-
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
117+
"semantic-release": "semantic-release",
119118
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
120119
"test": "grunt",
121120
"test-allow-untracked-files": "./test/e2e-allow-untracked-files.sh",
122-
"test-no-commit-on-test-fail": "./test/e2e-test-fails.sh"
121+
"test-no-commit-on-test-fail": "./test/e2e-test-fails.sh",
122+
"travis-deploy-once": "travis-deploy-once"
123123
}
124124
}

0 commit comments

Comments
 (0)