Build package before release

This commit is contained in:
Marko Korhonen 2023-11-14 19:36:01 +02:00
parent fe9e51a297
commit 99c0b03941
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -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."