Skip to content

Commit

Permalink
don't always try and be clever with the package version
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnewton committed Oct 10, 2023
1 parent 515e238 commit 2d16b54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ else
RADIUSD_VERSION_SEP := ~
endif

PKG_VERSION := $(RADIUSD_VERSION_MAJOR).$(RADIUSD_VERSION_MINOR)$(RADIUSD_VERSION_SEP)$(RADIUSD_VERSION_INCRM)$(PKG_VERSION_SUFFIX)
ifeq "$(shell ./version.sh is_release)" "1"
PKG_VERSION := $(shell cat VERSION)
else
PKG_VERSION := $(RADIUSD_VERSION_MAJOR).$(RADIUSD_VERSION_MINOR)$(RADIUSD_VERSION_SEP)$(RADIUSD_VERSION_INCRM)$(PKG_VERSION_SUFFIX)
endif

.PHONY: pkg_version
pkg_version:
Expand Down

0 comments on commit 2d16b54

Please sign in to comment.