File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -341,14 +341,15 @@ GIT_VERSION := $(shell if [ -d ".git" ]; then git version; fi 2>/dev/null)
341341GIT_TAG_STATUS := $(shell git describe --tags HEAD 2>/dev/null)
342342GIT_TAG_STATUS := $(.SHELLSTATUS )
343343
344+ DEFAULT_VERSION := 0.5.1
344345ifdef GIT_VERSION
345346# if has tag then use it
346347 ifeq ($(GIT_TAG_STATUS),0)
347348# <tag>-<commit_count_after_tag>-<last_commit-hash>
348349 VERSION = $(shell git describe --tags HEAD | cut -b 1-)
349350 else
350351# <base_version>-<total_commit_count>-<last_commit_hash>
351- VERSION = 0.5.0 -$(shell git rev-list --all --count) -$(shell git describe --always HEAD)
352+ VERSION = $( DEFAULT_VERSION ) -$(shell git rev-list --all --count) -$(shell git describe --always HEAD)
352353 endif
353354else
354355# if it's not git repo then use date as version
@@ -397,7 +398,7 @@ PACKAGE_CATEGORY = security
397398
398399LIBRARY_SO_VERSION := $(shell echo $(VERSION ) | sed 's/^\([0-9.]* \) \(.*\)*$$/\1/')
399400ifeq ($(LIBRARY_SO_VERSION ) ,)
400- LIBRARY_SO_VERSION := 0.5.0
401+ LIBRARY_SO_VERSION := $(DEFAULT_VERSION)
401402endif
402403DEBIAN_CODENAME := $(shell lsb_release -cs 2> /dev/null)
403404DEBIAN_STRETCH_VERSION := libssl1.0.2
You can’t perform that action at this time.
0 commit comments