#35 Path to version file is Makefile-relative

Closed
opened 3 years ago by balkansalat · 1 comments

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.
sumpfralle commented 2 years ago
Owner

Fixed in ac49a2b9e7.

Fixed in ac49a2b9e7b08204c0ac612b641340f330cac10a.
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.