1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

sysutils/openshift-install-devel: use GH_TAGNAME for git commit hash

This commit is contained in:
John Hixson 2020-07-30 00:32:43 +00:00
parent e299012350
commit c4a85c71bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543694
2 changed files with 9 additions and 9 deletions

View File

@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= openshift-install
PORTVERSION= ${GIT_COMMIT:C/^([0-9]{4})(.*)/\1/}
PORTVERSION= ${GH_TAGNAME:C/^([0-9]{4})(.*)/\1/}
DISTVERSIONPREFIX= release-
PORTREVISION= 1
CATEGORIES= sysutils
DISTNAME= ${GIT_COMMIT}.zip
DISTNAME= ${GH_TAGNAME}.zip
MAINTAINER= jhixson@freebsd.org
COMMENT= RedHat OpenShift installer
COMMENT= RedHat OpenShift installer
LICENSE= APACHE20
LICENSE_FILE= ${GO_WRKSRC}/LICENSE
@ -25,8 +26,7 @@ GH_PROJECT= installer
GH_SUBDIR= src/github.com/openshift/installer
GH_TAGNAME= 7287d88d35e985b72747ed64b44907a827fb3cad
GIT_COMMIT= ${GH_TAGNAME}
GIT_TAG= unreleased-master-3416-g${GIT_COMMIT}
GIT_TAG= unreleased-master-3416-g${GH_TAGNAME}
GH_TUPLE= \
AlecAivazis:survey:6773bdf39b7f:alecaivazis_survey/vendor/gopkg.in/AlecAivazis/survey.v1 \
Azure:azure-sdk-for-go:v43.2.0:azure_azure_sdk_for_go/vendor/github.com/Azure/azure-sdk-for-go \
@ -316,7 +316,7 @@ do-install:
GO_BUILDFLAGS= -tags release -ldflags="-s -w \
-X github.com/openshift/installer/pkg/version.Raw=${GIT_TAG} \
-X github.com/openshift/installer/pkg/version.Commit=${GIT_COMMIT}" -o "${PLIST_FILES}"
-X github.com/openshift/installer/pkg/version.Commit=${GH_TAGNAME}" -o "${PLIST_FILES}"
GO_TARGET= ./cmd/openshift-install
CGO_ENABLED= 0

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1595636503
TIMESTAMP = 1596068398
SHA256 (openshift-installer-release-7287-7287d88d35e985b72747ed64b44907a827fb3cad_GH0.tar.gz) = b6e02fb3d6384a4fe79e2c5dd054191d8125f0ab4ae4c6dc7e93186b7c72ea08
SIZE (openshift-installer-release-7287-7287d88d35e985b72747ed64b44907a827fb3cad_GH0.tar.gz) = 36637746
SHA256 (AlecAivazis-survey-6773bdf39b7f_GH0.tar.gz) = 2b00abe8f939bb944ee99ce902ad153256a4beccda77458f9846c85fa3ee2b6a
@ -405,8 +405,8 @@ SHA256 (openshift-cluster-api-provider-libvirt-2336783d4603_GH0.tar.gz) = d5dfd8
SIZE (openshift-cluster-api-provider-libvirt-2336783d4603_GH0.tar.gz) = 5795456
SHA256 (openshift-cluster-api-provider-openstack-319a35b2e38e_GH0.tar.gz) = f107aa4faa843d0a77852b9f2300b6712c85ba6f3f67a451af63abed3fdd33c3
SIZE (openshift-cluster-api-provider-openstack-319a35b2e38e_GH0.tar.gz) = 5590435
SHA256 (openshift-cluster-api-provider-ovirt-27473ea1ae43_GH0.tar.gz) = 000a8f9fd7d7b25a0f332b1e0d62781f6a702a60820c20fe29d1db02db419d57
SIZE (openshift-cluster-api-provider-ovirt-27473ea1ae43_GH0.tar.gz) = 14585865
SHA256 (openshift-cluster-api-provider-ovirt-27473ea1ae43_GH0.tar.gz) = 5bf7c7a4a163d2c1feb4fc1684bc60257f14d7270186897ce99a79238eb44fd8
SIZE (openshift-cluster-api-provider-ovirt-27473ea1ae43_GH0.tar.gz) = 14585867
SHA256 (openshift-cluster-api-b09907ac6668_GH0.tar.gz) = 5dcf76d403f8aebe0a0db08865944e56f0862c6d8d6eabcef1917ace7f1df3a6
SIZE (openshift-cluster-api-b09907ac6668_GH0.tar.gz) = 6435089
SHA256 (openshift-hashicorp-terraform-plugin-sdk-v1.14.0-openshift_GH0.tar.gz) = 4a06fea47998ddb56bb14b3f3a1bed69ea2a303e40ef00e5a4240f843cd5efda