Skip to content

Commit

Permalink
Merge pull request #12 in HSE/hse-ycsb from updates/NFSE-4136 to v0.1…
Browse files Browse the repository at this point in the history
…7.0-hse

* commit 'bcb3283a8dfbe283590c9f7c4d95d75f9912a547':
  Version string for non-git source
  • Loading branch information
bhaveshvasandani committed Apr 28, 2020
2 parents 06cae5e + bcb3283 commit 0a7d946
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ HSEVERSION:=$(shell rpm -q hse --qf "%{VERSION}")
RELTYPE:=$(shell rpm -q hse --qf "%{RELEASE}" | grep -o '^[[:alpha:]]*')
# HSERELEASE:=$(shell rpm -q hse --qf "%{RELEASE}")
HSESHA:=.$(word 6,$(subst ., ,$(shell hse version)))
ifeq ($(HSESHA),.)
HSESHA:=".nogit"
endif
YCSBSHA:=.$(shell git rev-parse --short=7 HEAD)
ifeq ($(YCSBSHA),.)
YCSBSHA:=".nogit"
endif
TSTAMP:=.$(shell date +"%Y%m%d.%H%M%S")

.PHONY: all check-hse cleansrcs dist help srcs rpm
Expand Down

0 comments on commit 0a7d946

Please sign in to comment.