Skip to content

Commit df83d91

Browse files
author
David Joy
committed
build: final semantic release config
1 parent a7964b9 commit df83d91

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"branch": "djoy/dist_magic",
2+
"branch": "master",
33
"tagFormat": "v${version}",
44
"verifyConditions": [
55
"@semantic-release/npm",

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ script:
55
- npm run test
66
- npm run build
77
after_success:
8-
- npx -p semantic-release -p @semantic-release/git -p @semantic-release/npm -p @semantic-release/commit-analyzer -p @semantic-release/release-notes-generator semantic-release -d --debug
9-
- ls -al
10-
- ls -al dist
8+
# Without explicitly installing all these packages (that's what -p does) first, the "plugins" config above causes semantic-release to fail saying it can't find the packages. ... This is odd because they're all supposedly shipped with semantic-release.
9+
- npx -p semantic-release -p @semantic-release/git -p @semantic-release/npm -p @semantic-release/commit-analyzer -p @semantic-release/release-notes-generator semantic-release
1110
- codecov
1211
env:
1312
global:

0 commit comments

Comments
 (0)