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

Commit 1bdc256

Browse files
author
Kent C. Dodds
committed
fix(build): Commit the build before publishing
We want the built file to be available in each version as part of the tagged release
1 parent 67f1020 commit 1bdc256

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov",
2929
"code-checks": "eslint src/",
3030
"commit": "git-cz",
31-
"semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post"
31+
"semantic-release": "semantic-release pre && npm run build && with-package git commit -am pkg.version && npm publish && semantic-release post"
3232
},
3333
"betterScripts": {
3434
"build:dist": {

scripts/build.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)