Skip to content

Commit

Permalink
Consistency between VERSION and github tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerilk committed Mar 13, 2024
1 parent 82d8ddd commit fd24889
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.0.0
v0.1.0
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# see semver.org for version info
m4_define([fallbackversion], m4_normalize(m4_include([VERSION])))
m4_append([fallbackversion], [.0])
AC_INIT([cconfigspace],
[m4_esyscmd([build-aux/git-version-gen --fallback fallbackversion .tarball-version])],
[[email protected]])
Expand Down
2 changes: 1 addition & 1 deletion m4/ax_dynamic_version.m4
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AC_DEFUN([AX_DYNAMIC_VERSION],[
[DYNAMIC_VERSION_RULES='
GITVER = $$(cd $(top_srcdir) 2>/dev/null && sh build-aux/git-version-gen --fallback `cat VERSION` .tarball-version 2>/dev/null)
OLDVER = $$(cat .version 2>/dev/null)
CURVER = $$(if [ -z "$(GITVER)" ]; then cat $(top_srcdir)/VERSION | cut -c2- 2>/dev/null; else echo "$(GITVER)"; fi)
CURVER = $$(if [ -z "$(GITVER)" ]; then echo "\$(cat $(top_srcdir)/VERSION).0" | cut -c2- 2>/dev/null; else echo "$(GITVER)"; fi)
.PHONY: .version
.version: $(top_srcdir)/VERSION
Expand Down

0 comments on commit fd24889

Please sign in to comment.