Makefile 312 B

123456789101112131415161718
  1. SHELL := /bin/bash
  2. release-major: test
  3. npm version major -m "Release %s"
  4. git push
  5. npm publish
  6. release-minor: test
  7. npm version minor -m "Release %s"
  8. git push
  9. npm publish
  10. release-patch: test
  11. npm version patch -m "Release %s"
  12. git push
  13. npm publish
  14. .PHONY: test release-major release-minor release-patch