In release.mk#L123 the current version is retrieved by $$(git show "HEAD:$(CURRENT_VERSION_FILE)"). This only works, if make is issued from the root of the repository.
In my case, Makefile lives in a subdir of the repo, so the path $(CURRENT_VERSION_FILE) is relative to that subdir.
In [release.mk#L123](https://notabug.org/sumpfralle/makefilet/src/master/include/release.mk#L123) the current version is retrieved by `$$(git show "HEAD:$(CURRENT_VERSION_FILE)")`. This only works, if `make` is issued from the root of the repository.
In my case, `Makefile` lives in a subdir of the repo, so the path `$(CURRENT_VERSION_FILE)` is relative to that subdir.
In release.mk#L123 the current version is retrieved by
$$(git show "HEAD:$(CURRENT_VERSION_FILE)")
. This only works, ifmake
is issued from the root of the repository.In my case,
Makefile
lives in a subdir of the repo, so the path$(CURRENT_VERSION_FILE)
is relative to that subdir.Fixed in
ac49a2b9e7
.