Build package before release
This commit is contained in:
parent
fe9e51a297
commit
99c0b03941
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ build: node_modules
|
||||||
clean:
|
clean:
|
||||||
rm -r dist node_modules
|
rm -r dist node_modules
|
||||||
|
|
||||||
release:
|
release: build
|
||||||
@read -p "Enter version bump (patch, minor, major): " bump && \
|
@read -p "Enter version bump (patch, minor, major): " bump && \
|
||||||
version=$$(npm version $$bump | grep -oP "(?<=v)[^']+") && \
|
version=$$(npm version $$bump | grep -oP "(?<=v)[^']+") && \
|
||||||
echo "Version $$version created. Run 'make publish' to push the changes and publish the package."
|
echo "Version $$version created. Run 'make publish' to push the changes and publish the package."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue