diff options
author | Paul Spooren <mail@aparcar.org> | 2021-01-01 14:18:32 -1000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-22 19:03:53 -1000 |
commit | aa589c77b4e431455f2de225bbf38a391f76aad6 (patch) | |
tree | 74600cb8e86cec00efcff916e72ed6cd112b069e /package/base-files | |
parent | 9ae3c6f94c616cfbf854d3ec749c7fafc9893942 (diff) | |
download | upstream-aa589c77b4e431455f2de225bbf38a391f76aad6.tar.gz upstream-aa589c77b4e431455f2de225bbf38a391f76aad6.tar.bz2 upstream-aa589c77b4e431455f2de225bbf38a391f76aad6.zip |
base-files: use $(COMMITCOUNT) in PKG_RELEASE
The newly added `$(COMMITCOUNT)` varialbe allows automatic versioning
based on the number of Git commits of a package. Replace *tedious to
bump* and *merge conflict causing* `PKG_RELEASE` and replace it with
`$(COMMITCOUNT)`.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index f18f221129..d134641cb9 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -12,8 +12,8 @@ include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/feeds.mk PKG_NAME:=base-files -PKG_RELEASE:=246 PKG_FLAGS:=nonshared +PKG_RELEASE:=$(COMMITCOUNT) PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=usign/host ucert/host |