Skip to content

Commit

Permalink
Merge pull request #3314 from sysown/v2.1.1_cluster_os_check
Browse files Browse the repository at this point in the history
Change git_version parsing to standardize across OS versions
  • Loading branch information
renecannao authored Feb 24, 2021
2 parents 5f269af + ab3b049 commit 6d49f5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifndef GIT_VERSION
GIT_VERSION := $(shell git describe --long)
GIT_VERSION := $(shell git describe --long --abbrev=7)
ifndef GIT_VERSION
$(error GIT_VERSION is not set)
endif
Expand Down
2 changes: 1 addition & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifndef GIT_VERSION
GIT_VERSION := $(shell git describe --long)
GIT_VERSION := $(shell git describe --long --abbrev=7)
ifndef GIT_VERSION
$(error GIT_VERSION is not set)
endif
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifndef GIT_VERSION
GIT_VERSION := $(shell git describe --long)
GIT_VERSION := $(shell git describe --long --abbrev=7)
ifndef GIT_VERSION
$(error GIT_VERSION is not set)
endif
Expand Down

0 comments on commit 6d49f5f

Please sign in to comment.