Skip to content

Commit 515de61

Browse files
committed
fix: release pushes tags last
You need to delete the latest tag before pushing with --tags.
1 parent d8092cf commit 515de61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"build-help": "marked -i ./dist/help/help.md -o ./dist/help/help.html",
2929
"watch": "webpack -d --watch",
3030
"changelog": "github-changes -o signalk -r instrumentpanel -a --only-pulls --use-commit-body --data=pulls --tag-name=v$npm_package_version",
31-
"release": "git tag -d v$npm_package_version ; npm run changelog && git add CHANGELOG.md && git commit -m 'chore: update changelog' && git tag v$npm_package_version && git push --tags && git push && git tag -d latest && git push origin :refs/tags/latest && git tag latest && git push origin tag latest"
31+
"release": "git tag -d v$npm_package_version ; npm run changelog && git add CHANGELOG.md && git commit -m 'chore: update changelog' && git tag v$npm_package_version && git push && git tag -d latest && git push origin :refs/tags/latest && git tag latest && git push --tags"
3232
},
3333
"devDependencies": {
3434
"@signalk/client": "^2.0.3",

0 commit comments

Comments
 (0)