forked from openshift-eng/jira-lifecycle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
14 lines (11 loc) · 723 Bytes
/
Makefile
File metadata and controls
14 lines (11 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Include the library makefile
include $(addprefix ./vendor/github.com/openshift/build-machinery-go/make/, \
golang.mk \
lib/tmp.mk \
)
# Build configuration
git_commit=$(shell git describe --tags --always --dirty)
build_date=$(shell date -u '+%Y%m%d')
version=v${build_date}-${git_commit}
SOURCE_GIT_TAG=v1.0.0+$(shell git rev-parse --short=7 HEAD)
GO_LD_EXTRAFLAGS=-X github.com/openshift-eng/jira-lifecycle-plugin/vendor/k8s.io/client-go/pkg/version.gitCommit=$(shell git rev-parse HEAD) -X github.com/openshift-eng/jira-lifecycle-plugin/vendor/k8s.io/client-go/pkg/version.gitVersion=${SOURCE_GIT_TAG} -X sigs.k8s.io/prow/prow/version.Name=jira-lifecycle-plugin -X sigs.k8s.io/prow/prow/version.Version=${version}