Skip to content

Commit 7f9a8a5

Browse files
authoredAug 19, 2019
ci: build before release, commit assets, remove .npmrc (#252)
1 parent 9a99ed4 commit 7f9a8a5

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed
 

‎.npmrc

-2
This file was deleted.

‎.releaserc.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"@semantic-release/changelog",
66
"@semantic-release/npm",
77
"@semantic-release/github",
8-
"@semantic-release/git"
8+
["@semantic-release/git", {
9+
"assets": ["dist/*", "package.json", "CHANGELOG.md", "package-lock.json"],
10+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
11+
}]
912
],
1013
"tagFormat": "${version}"
11-
}
14+
}

‎.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
node_js: 10
2424
script: skip
2525
env:
26-
# GitHub
27-
- secure: "brL77ysx1Z30fGqeTLtdhVYCdMXFi6kbQYpQB2w9CtJJeI9zKZDagYKSjHpY1kzgUN0BoXG/Kyr1EgXsE2nBHjWYPKsxcbNP8gEAl8I6J7LBNVrxYkJNzQ46jYIjtjAWwodbQGAz0LrH5b8sw8IwE8vcxZ4thfZupA50LC8VdWA="
2826
# NPM
29-
- secure: "fM77hue6ws/ikKaCzUsy6o3urxBHH0YjNSP3Dzc1Qm6oBthe8AYMifV7O93JI3T9ne4jDJvXcCCxgCOBr7gYr7U2/W+X144MphuBbqlTRxusKKBYCtK0QatjM9Px07f1lWLhgcEbwAayr9l9JSSJk4y5T7zk0Ij02gHapB0PPv8="
27+
- secure: fM77hue6ws/ikKaCzUsy6o3urxBHH0YjNSP3Dzc1Qm6oBthe8AYMifV7O93JI3T9ne4jDJvXcCCxgCOBr7gYr7U2/W+X144MphuBbqlTRxusKKBYCtK0QatjM9Px07f1lWLhgcEbwAayr9l9JSSJk4y5T7zk0Ij02gHapB0PPv8=
28+
# GitHub
29+
- secure: brL77ysx1Z30fGqeTLtdhVYCdMXFi6kbQYpQB2w9CtJJeI9zKZDagYKSjHpY1kzgUN0BoXG/Kyr1EgXsE2nBHjWYPKsxcbNP8gEAl8I6J7LBNVrxYkJNzQ46jYIjtjAWwodbQGAz0LrH5b8sw8IwE8vcxZ4thfZupA50LC8VdWA=
3030
deploy:
3131
provider: script
3232
skip_cleanup: true

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"server": "http-server -o -c-1",
4242
"test": "istanbul cover --report lcovonly _mocha",
4343
"coverage": "if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then cat coverage/lcov.info | coveralls; fi",
44-
"release": "semantic-release"
44+
"release": "npm run build && semantic-release"
4545
},
4646
"browser": {
4747
"http": false,

0 commit comments

Comments
 (0)
Please sign in to comment.