diff --git a/Makefile b/Makefile index c268499..2121107 100644 --- a/Makefile +++ b/Makefile @@ -29,3 +29,10 @@ update: clean clean: $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) + +release: + @ git diff-index --quiet HEAD || (echo "E: uncommitted changes, can't release like this!"; false) + git tag v$(VERSION) + git push + git push --tags + make dist -- libgit2 0.21.2