Skip to content

Commit c5a1886

Browse files
committed
chore(package): add dry-run semver script
1 parent d7385aa commit c5a1886

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"commitmsg": "cz-customizable-ghooks",
7575
"cz": "git add . && git-cz && npm run git:push",
7676
"semver": "semantic-release",
77+
"semver:dry-run": "semantic-release --dry-run",
7778
"commit": "npm run cz",
7879
"git:push": "git push-upstream"
7980
},

writer-opts.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ function getWriterOpts(config) {
110110
let url = context.repository
111111
? `${context.host}/${context.owner}/${context.repository}`
112112
: context.repoUrl;
113+
113114
if (url) {
114115
url = `${url}/issues/`;
115116
// Issue URLs.
@@ -118,6 +119,7 @@ function getWriterOpts(config) {
118119
return `[#${issue}](${url}${issue})`;
119120
});
120121
}
122+
121123
if (context.host) {
122124
// User URLs.
123125
commit.subject = commit.subject.replace(

0 commit comments

Comments
 (0)