Skip to content

Commit a6da914

Browse files
committed
Makefile: add release target
1 parent 074186c commit a6da914

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ clean:
3838
rm -f st ${OBJ}
3939
rm -f ${DIST}.tar.gz
4040

41+
release:
42+
git tag -a v$(VERSION) -m v$(VERSION)
43+
4144
dist: clean
4245
git archive --format=tar.gz -o ${DIST}.tar.gz --prefix=${DIST}/ HEAD
4346

44-
.PHONY: all install uninstall clean dist
47+
.PHONY: all install uninstall clean release dist

0 commit comments

Comments
 (0)