Browse Source

Fixing `make release` - amending a tagged commit makes the commit not match the tag.

master
Jordan Harband 11 years ago
parent
commit
a3de7f3222
  1. 5
      Makefile

5
Makefile

@ -20,6 +20,7 @@ endif @@ -20,6 +20,7 @@ endif
release: verify-tag
@ OLD_TAG=`git describe --abbrev=0 --tags` && \
npm version "$(TAG)" && \
replace "$${OLD_TAG/v/}" "$(TAG)" -- nvm.sh install.sh README.markdown && \
git commit --amend nvm.sh install.sh README.markdown package.json
git commit -m "v$(TAG)" nvm.sh install.sh README.markdown package.json && \
git tag "v$(TAG)"

Loading…
Cancel
Save