hashicorp / hashicorp/packer-plugin-sdk
`packer-sdc plugin-check` outputs cryptic error string: Version needs to be set
- Dominant language
- Go
- Stars
- 42
- Forks
- 62
- Avg merge
- 29m
- Merged PRs (30d)
- 2
Description
When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.
#### Overview of the Issue
Executing `packer-sdc plugin-check ` outputs the following error string:
> 2022/08/22 17:21:02 Version needs to be set
Although the `packer-sdc` documentation and usage has no information about this, and I saw no error message similar to this in the source code, I did notice there seems to be a potential secret requirement for plugins: a `version/version.go` file. This seemed like a possible fix. However, even after populating this file appropriately according to two other official plugins as a reference, the behavior did not deviate at all from the above. Thus, this behavior is unfortunately contrary to published documentation, usage, source code, and other official plugins as a reference.
I should also note the plugin currently passes acceptance testing with the latest version of Packer and the Packer SDK, so it should also conceivably pass the `plugin-check` too.
#### Reproduction Steps
`packer-sdc plugin-check `
### Packer Plugin SDK version
0.3.1
### Operating system and Environment details
Ubuntu 22.04
### Log Fragments and crash.log files
n/a
Contributor guide
Assessment
This issue has not been assessed yet.