Update publishing command (#9466) [skip ci]
This reflects how I have been releasing the last versions (https://github.com/babel/notes/issues/78#issuecomment-449519007). In the future, we'll only need to run `make new-version && git push --tags` and it will run `make publish` from CI/Actions. Co-authored-by: Henry Zhu <hi@henryzoo.com>
This commit is contained in:
parent
81123fb972
commit
fdb65ab8b1
6
Makefile
6
Makefile
@ -130,8 +130,12 @@ prepublish:
|
||||
make prepublish-build
|
||||
make test
|
||||
|
||||
new-version:
|
||||
./node_modules/.bin/lerna version --force-publish="@babel/runtime,@babel/runtime-corejs2,@babel/standalone,@babel/preset-env-standalone"
|
||||
|
||||
# NOTE: Run make new-version first
|
||||
publish: prepublish
|
||||
./node_modules/.bin/lerna publish --force-publish="@babel/runtime,@babel/runtime-corejs2,@babel/standalone,@babel/preset-env-standalone" --require-scripts
|
||||
./node_modules/.bin/lerna publish from-git --require-scripts
|
||||
make clean
|
||||
|
||||
bootstrap: clean-all
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user