Skip to content

Commit

Permalink
Issue 566: Including operator base version in Makefile (#567)
Browse files Browse the repository at this point in the history
Signed-off-by: SrishT <[email protected]>

Co-authored-by: SrishT <[email protected]>
  • Loading branch information
SrishT and SrishT authored Jul 19, 2021
1 parent 01b7755 commit 8d45948
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ SHELL=/bin/bash -o pipefail

PROJECT_NAME=pravega-operator
REPO=testpravegaop/$(PROJECT_NAME)
VERSION=$(shell git describe --always --tags --dirty | sed "s/\(.*\)-g`git rev-parse --short HEAD`/\1/")
BASE_VERSION=0.5.5
ID=$(shell git rev-list HEAD --count)
GIT_SHA=$(shell git rev-parse --short HEAD)
VERSION=$(BASE_VERSION)-$(ID)-$(GIT_SHA)
TEST_IMAGE=$(REPO)-testimages:$(VERSION)
GOOS=linux
GOARCH=amd64
Expand Down

0 comments on commit 8d45948

Please sign in to comment.