Skip to content

Commit d737c70

Browse files
committed
Better way to push
1 parent 7295c34 commit d737c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ generated code into a tag, then clean up in a subsequent commit.
220220
3. ver=v$(node -e 'console.log(require("./package.json").version)'); echo "Tag: $ver"
221221
4. git add -f dist/ && git commit -m "Code release"
222222
5. git tag -a "$ver" -m some_tag_message
223-
6. git push origin "$ver:/refs/tags/$ver"
223+
6. git push origin && git push origin --tags
224224
7. npm publish
225225
8. Edit package.json and bump the version
226226
9. git rm -r dist/

0 commit comments

Comments
 (0)