pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kustomize: Pass/define a version
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Apr 29 20:41:56 2021 +0200
Changeset: 87198bd6a4fae57bbf4a7c8e6c06ffa9372b80a5
Modified Files:
kustomize/Makefile
Removed Files:
kustomize/TODO
Log Message:
kustomize: Pass/define a version
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=87198bd6a4fae57bbf4a7c8e6c06ffa9372b80a5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
kustomize/Makefile | 4 ++++
kustomize/TODO | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diffs:
diff --git a/kustomize/Makefile b/kustomize/Makefile
index 0222d2c671..61223e925c 100644
--- a/kustomize/Makefile
+++ b/kustomize/Makefile
@@ -10,6 +10,10 @@ HOMEPAGE= https://github.com/kubernetes-sigs/kustomize
COMMENT= Customization of kubernetes YAML configurations
LICENSE= apache-2.0
+GO_BUILD_PATTERN+= -ldflags ' \
+ -X sigs.k8s.io/kustomize/api/provenance.version=${PKGVERSION_NOREV} \
+ -X sigs.k8s.io/kustomize/api/provenance.gitCommit= \
+ -X sigs.k8s.io/kustomize/api/provenance.buildDate='
GO_BUILD_PATTERN+= .
WRKSRC= ${WRKDIR}/kustomize-kustomize-v${PKGVERSION_NOREV}/kustomize
diff --git a/kustomize/TODO b/kustomize/TODO
deleted file mode 100644
index 746e08453f..0000000000
--- a/kustomize/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-- Investigate/address how to properly fill the version (e.g. returned via
- `kustomize version')
Home |
Main Index |
Thread Index |
Old Index