Skip to content

Commit fc82b22

Browse files
author
Romain Gagnaire
committed
[MOD] (git) Adjusted prompts to support any checked-out branch
1 parent 59d007f commit fc82b22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Based on [bk-conventional-changelog](https://github.com/sportheroes/bk-conventio
1212
When you're ready to release to npm:
1313
1. `git checkout master; git pull origin master`
1414
2. run `standard-version`
15-
3. `git push --follow-tags origin master; npm publish`
15+
3. `git push --follow-tags origin; npm publish`
1616

1717
`standard-version` does the following:
1818

lib/lifecycles/tag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function execTag (newVersion, pkgPrivate, args) {
2626
checkpoint(args, 'tagging release %s', [newVersion])
2727
return runExec(args, 'git tag ' + tagOption + args.tagPrefix + newVersion + ' -m "' + formatCommitMessage(args.message, newVersion) + '"')
2828
.then(() => {
29-
var message = 'git push --follow-tags origin master'
29+
var message = 'git push --follow-tags origin'
3030
if (pkgPrivate !== true) message += ' && npm publish'
3131
if (args.prerelease !== undefined) message += ' --tag prerelease'
3232

0 commit comments

Comments
 (0)