From f3a0c4e015eff3f3112e05446ceddcd20fb39c1d Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Wed, 17 Apr 2024 09:06:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20remove=20old=20v10=20references?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 6 +++--- apps/provider-scaffold/template/main.go.template | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d3997258b3..f83c92b334 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -29,7 +29,7 @@ builds: - -tags="production netgo" ldflags: - "-extldflags=-static" - - -s -w -X go.mondoo.com/cnquery/v10.Version={{.Version}} -X go.mondoo.com/cnquery/v10.Build={{.ShortCommit}} -X go.mondoo.com/cnquery/v10.Date={{.Date}} + - -s -w -X go.mondoo.com/cnquery/v11.Version={{.Version}} -X go.mondoo.com/cnquery/v11.Build={{.ShortCommit}} -X go.mondoo.com/cnquery/v11.Date={{.Date}} - id: macos main: ./apps/cnquery/cnquery.go binary: cnquery @@ -41,7 +41,7 @@ builds: flags: -tags production ldflags: # clang + macos does not support static: - -extldflags "-static" - - -s -w -X go.mondoo.com/cnquery/v10.Version={{.Version}} -X go.mondoo.com/cnquery/v10.Build={{.ShortCommit}} -X go.mondoo.com/cnquery/v10.Date={{.Date}} + - -s -w -X go.mondoo.com/cnquery/v11.Version={{.Version}} -X go.mondoo.com/cnquery/v11.Build={{.ShortCommit}} -X go.mondoo.com/cnquery/v11.Date={{.Date}} hooks: post: - cmd: /tmp/quill sign-and-notarize "{{ .Path }}" -vv || true @@ -59,7 +59,7 @@ builds: flags: -tags production -buildmode exe ldflags: - "-extldflags -static" - - -s -w -X go.mondoo.com/cnquery/v10.Version={{.Version}} -X go.mondoo.com/cnquery/v10.Build={{.ShortCommit}} -X go.mondoo.com/cnquery/v10.Date={{.Date}} + - -s -w -X go.mondoo.com/cnquery/v11.Version={{.Version}} -X go.mondoo.com/cnquery/v11.Build={{.ShortCommit}} -X go.mondoo.com/cnquery/v11.Date={{.Date}} hooks: post: - cmd: jsign --storetype DIGICERTONE --alias "{{ .Env.SM_CERT_ALIAS }}" --storepass "{{ .Env.SM_API_KEY }}|{{ .Env.SM_CLIENT_CERT_FILE}}|{{ .Env.SM_CLIENT_CERT_PASSWORD }}" --tsaurl "http://timestamp.digicert.com" '{{ .Path }}' diff --git a/apps/provider-scaffold/template/main.go.template b/apps/provider-scaffold/template/main.go.template index 56c96cf26d..aaccc3e4e5 100644 --- a/apps/provider-scaffold/template/main.go.template +++ b/apps/provider-scaffold/template/main.go.template @@ -3,8 +3,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v10/providers/{{ .ProviderID }}/provider" + "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v11/providers/{{ .ProviderID }}/provider" ) func main() {