M Makefile => Makefile +2 -2
@@ 5,7 5,7 @@ AWK ?= awk
help:
@${AWK} 'sub(/^#HELP: ?/, "")' ${.MAKE.MAKEFILES}
-BRANCH = devel
+BRANCH = $(shell cat etc/sorcery/version)
release = sorcery-$(BRANCH).tar.bz2
ts-scm = .git/refs/heads/master
@@ 24,7 24,7 @@ release: $(release)
#HELP: bump - Bump version
.PHONY: bump
bump:
- git describe --tags | >etc/sorcery/version ${AWK} -f bump.awk
+ git log -1 --format=%cs | tr -d '-' >etc/sorcery/version
devinst: bump install
M etc/sorcery/version => etc/sorcery/version +1 -1
@@ 1,1 1,1 @@
-20221117
+20240108