From fd0e36605571d629d17d896cff3a0e39b43bab35 Mon Sep 17 00:00:00 2001 From: zwwhdls Date: Fri, 5 Jul 2024 11:14:40 +0800 Subject: [PATCH] fix workflow Signed-off-by: zwwhdls --- .goreleaser.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2c97a89..17f0617 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,28 +9,28 @@ before: builds: - id: kubectl-jfs-linux-amd64 ldflags: -s -w -X github.com/juicedata/kubectl-jfs-plugin/pkg.version={{.Version}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.gitCommit={{.ShortCommit}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.buildDate={{.Env.REVISIONDATE}} - main: . + main: ./cmd goos: - linux goarch: - amd64 - id: kubectl-jfs-linux-arm64 ldflags: -s -w -X github.com/juicedata/kubectl-jfs-plugin/pkg.version={{.Version}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.gitCommit={{.ShortCommit}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.buildDate={{.Env.REVISIONDATE}} - main: . + main: ./cmd goos: - linux goarch: - arm64 - id: kubectl-jfs-darwin-amd64 ldflags: -s -w -X github.com/juicedata/kubectl-jfs-plugin/pkg.version={{.Version}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.gitCommit={{.ShortCommit}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.buildDate={{.Env.REVISIONDATE}} - main: . + main: ./cmd goos: - darwin goarch: - amd64 - id: kubectl-jfs-darwin-arm64 ldflags: -s -w -X github.com/juicedata/kubectl-jfs-plugin/pkg.version={{.Version}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.gitCommit={{.ShortCommit}} -X github.com/juicedata/kubectl-jfs-plugin/pkg.buildDate={{.Env.REVISIONDATE}} - main: . + main: ./cmd goos: - darwin goarch: