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

Commit b471465

Browse files
author
Kent C. Dodds
committed
fix(build): Add push back
Maybe a commit needs to exist in the remote repo for the release to work ref #455
1 parent b4d5ba2 commit b471465

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/publish-latest.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ echo "adding dist"
1717
git add dist package.json
1818

1919
echo "committing with $F_VERSION"
20-
git commit -m $F_VERSION --no-verify
20+
git commit -m v$F_VERSION --no-verify
21+
22+
echo "pushing"
23+
git push origin HEAD:latest -f >/dev/null 2>/dev/null
2124

2225
echo "done!"
2326

0 commit comments

Comments
 (0)