Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed version issue with manual packer plugins install from local path #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

7ep3s
Copy link

@7ep3s 7ep3s commented Jun 2, 2024

The plugin doesn't report its version so packer plugins install -path packer-plugin-wim_windows_amd64.exe "github.com/marmold/wim" will error out.

PS C:\temp> packer plugins install -path .\packer-plugin-wim_windows_amd64.exe "github.com/marmold/wim"
Error: Invalid version
Plugin's reported version ("") is not semver-compatible: Malformed version:

See below:

PS C:\temp> .\packer-plugin-wim_windows_amd64.exe describe
{"version":"","sdk_version":"0.2.3","api_version":"x5.0","builders":[],"post_processors":["-packer-default-plugin-name-"],"provisioners":[],"datasources":[]}

Fixed by implementing the version package from packer-plugin-sdk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant