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

Commit b4d5ba2

Browse files
author
Kent C. Dodds
committed
fix(build): Move publish:latest to before semantic-release post
Attempt to fix changelog issue ref #455
1 parent 6a9e4b7 commit b4d5ba2

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
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
"publish:latest": "with-package scripts/publish-latest.sh pkg.version",
32-
"semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post && npm run publish:latest"
32+
"semantic-release": "semantic-release pre && npm run build && npm publish && npm run publish:latest && semantic-release post"
3333
},
3434
"betterScripts": {
3535
"build:dist": {

scripts/publish-latest.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,5 @@ git add dist package.json
1919
echo "committing with $F_VERSION"
2020
git commit -m $F_VERSION --no-verify
2121

22-
echo "tagging with v$F_VERSION"
23-
git tag v${F_VERSION} -f
24-
25-
echo "pushing"
26-
git push origin HEAD:latest --tags -f >/dev/null 2>/dev/null
27-
2822
echo "done!"
2923

0 commit comments

Comments
 (0)