Skip to content

Commit 1822f61

Browse files
authored
fix release script to work with detached head (#687)
1 parent db917a1 commit 1822f61

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
@@ -20,7 +20,7 @@
2020
"postinstall": "husky install",
2121
"changeset": "changeset",
2222
"update-versions-and-changelogs": "changeset version && yarn version-run-all && bash scripts/update-lockfile.sh",
23-
"release": "yarn clean && yarn build --force && changeset publish && git push origin --follow-tags --no-verify",
23+
"release": "yarn clean && yarn build --force && changeset publish && git push origin HEAD:master --follow-tags --no-verify",
2424
"version-run-all": "yarn workspaces foreach -vpt --no-private run version",
2525
"core": "yarn workspace @segment/analytics-core",
2626
"core+deps": "turbo run --filter=@segment/analytics-core...",

0 commit comments

Comments
 (0)