chore: prompt maintainer to quit make watch before publish (#12357)
* chore: prompt maintainer to quit make watch before publish * move shell prompt to Makefile
This commit is contained in:
parent
3e0fa927c0
commit
cff0d7c727
8
Makefile
8
Makefile
@ -243,7 +243,13 @@ new-version:
|
||||
$(YARN) release-tool version $(FORCE_PUBLISH)
|
||||
|
||||
# NOTE: Run make new-version first
|
||||
publish: prepublish
|
||||
publish:
|
||||
@echo "Please confirm you have stopped make watch. (y)es, [N]o:"; \
|
||||
read CLEAR; \
|
||||
if [ "_$$CLEAR" != "_y" ]; then \
|
||||
exit 1; \
|
||||
fi
|
||||
$(MAKE) prepublish
|
||||
$(YARN) release-tool publish
|
||||
$(MAKE) clean
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user