From d8edc6d66377eb994f3d29d5c2399fb1704b7c57 Mon Sep 17 00:00:00 2001 From: Andrew Block Date: Tue, 9 Jul 2024 04:01:00 -0500 Subject: [PATCH] Misc fixes (#276) Signed-off-by: Andrew Block --- README.md | 2 +- scripts/ldflags.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be5bbe8..fdfad2c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # helm-sigstore -[![Build Status](https://github.com/sigstore/helm-sigstore/workflows/CI/badge.svg?branch=main)](https://github.com/sigstore/helm-sigstore/actions?workflow=CI) +[![Build Status](https://github.com/sigstore/helm-sigstore/workflows/ci/badge.svg?branch=main)](https://github.com/sigstore/helm-sigstore/actions?workflow=ci) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/helm-sigstore)](https://artifacthub.io/packages/search?repo=helm-sigstore) [![SLSA](https://slsa.dev/images/gh-badge-level3.svg)](https://slsa.dev/) diff --git a/scripts/ldflags.sh b/scripts/ldflags.sh index e5eae2e..2cbef4e 100644 --- a/scripts/ldflags.sh +++ b/scripts/ldflags.sh @@ -38,7 +38,7 @@ function ldflags() { local BUILD_DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "$DATE_FMT" 2>/dev/null || date -u "$DATE_FMT") fi - echo "-buildid= -X github.com/sigstore/helm-sigstore/cmd/version.gitVersion=$GIT_VERSION \ + echo "-buildid= -X github.com/sigstore/helm-sigstore/cmd.gitVersion=$GIT_VERSION \ -X github.com/sigstore/helm-sigstore/cmd.gitCommit=$GIT_COMMIT \ -X github.com/sigstore/helm-sigstore/cmd.gitTreeState=$GIT_TREESTATE \ -X github.com/sigstore/helm-sigstore/cmd.buildDate=$BUILD_DATE"