Skip to content

Bug(release): Some plugins don't have their version embedded correctly #2642

@erezrokah

Description

@erezrokah

Describe the Bug

In order for <plugin> --version command to work we need to embed the correct version via Go Releaser.
Go Releaser expects it to be under resources/plugin.Version:

- -s -w -X github.com/cloudquery/cloudquery/plugins/{{ .Var.component }}/resources/plugin.Version={{.Version}}

That requires plugins to follow a specific directory and package convention.
Some don't like k8s,okta,terraform. We should fix it

Expected Behavior

<plugin> --version should work for all plugins

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions