Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit dca5745

Browse files
author
Kent C. Dodds
committed
fix(build): Fix issue with publish:latest
1 parent fcd282b commit dca5745

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
@@ -29,7 +29,7 @@
2929
"code-checks": "eslint src/",
3030
"commit": "git-cz",
3131
"prepublish:latest": "node scripts/authorize-push.js",
32-
"publish:latest": "git fetch && git checkout latest origin/latest && git add dist && with-package git commit -m pkg.version && with-package F_VERSION=pkg.version git tag v${F_VERSION} -f && git push origin latest --tags -f",
32+
"publish:latest": "git fetch && git checkout -b latest origin/latest && git add dist && with-package git commit -m pkg.version && with-package F_VERSION=pkg.version git tag v${F_VERSION} -f && git push origin latest --tags -f",
3333
"semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post && npm run publish:latest"
3434
},
3535
"betterScripts": {

0 commit comments

Comments
 (0)