Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

18 linhas
330 B

  1. .PHONY: verify-tag release
  2. default: release
  3. verify-tag:
  4. ifndef TAG
  5. $(error TAG is undefined)
  6. endif
  7. release: verify-tag
  8. @ OLD_TAG=`git describe --abbrev=0 --tags` && \
  9. npm run minify && \
  10. replace "$${OLD_TAG/v/}" "$(TAG)" -- *.json README.md && \
  11. git commit -m "v$(TAG)" *.js *.json README.md && \
  12. git tag "v$(TAG)"