packer-plugin-veertu-anka icon indicating copy to clipboard operation
packer-plugin-veertu-anka copied to clipboard

Error when upgrading packer plugin

Open n3rdc4ptn opened this issue 2 years ago • 3 comments

When I upgrade the packer plugin using the command packer init -upgrade I always get the following error:

❯ packer init -upgrade build-vm.pkr.hcl
Failed getting the "github.com/veertuinc/veertu-anka" plugin:
1 error occurred:
        * could not get sha256 checksum file for github.com/veertuinc/veertu-anka version 2.3.2. Is the file present on the release and correctly named ? GET https://github.com/veertuinc/packer-plugin-veertu-anka/releases/download/v2.3.2/packer-plugin-veertu-anka_v2.3.2_SHA256SUMS: 404  []

After checking the Release page, I saw that the latest packer release has some difference between the previous one. Bildschirm­foto 2022-08-08 um 10 43 31

Could you maybe change the name of the latest release and remove the x5.0 in the shasums ?

n3rdc4ptn avatar Aug 08 '22 08:08 n3rdc4ptn

@NorseGaud it seems it had wrongly named the checksum file.

Esysc avatar Aug 08 '22 13:08 Esysc

Got it, try now! Sorry about that

NorseGaud avatar Aug 08 '22 13:08 NorseGaud

Keeping this open because we need a test to catch this in the automation. I'll try to add it in the next release

NorseGaud avatar Aug 08 '22 14:08 NorseGaud

The checksum files won't have the API version on them.

NorseGaud avatar Jul 27 '23 01:07 NorseGaud