Commit e66b52972ee4bf4651169c6cc3b1b9f0f6bd77cf
1 parent
ed49990b
Exists in
master
and in
1 other branch
Add release task
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
Makefile
@@ -29,3 +29,10 @@ update: clean | @@ -29,3 +29,10 @@ update: clean | ||
29 | 29 | ||
30 | clean: | 30 | clean: |
31 | $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) | 31 | $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) |
32 | + | ||
33 | +release: | ||
34 | + @ git diff-index --quiet HEAD || (echo "E: uncommitted changes, can't release like this!"; false) | ||
35 | + git tag v$(VERSION) | ||
36 | + git push | ||
37 | + git push --tags | ||
38 | + make dist |