Skip to content

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

Open
7ep3s wants to merge 2 commits into
marmold:mainfrom
7ep3s:main
Open

fixed version issue with manual packer plugins install from local path#22
7ep3s wants to merge 2 commits into
marmold:mainfrom
7ep3s:main

Conversation

@7ep3s

@7ep3s 7ep3s commented Jun 2, 2024

Copy link
Copy Markdown

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.

1 participant