Closed AtaxyaNetwork closed 4 months ago
@AtaxyaNetwork thanks for calling out this breaking change and identifying a fix!
# Verify new string is present -- hard to tell exactly what this string refers to since verison.Version is stripped from the binary
$ strings ~/Downloads/packer-plugin-xenserver_v0.7.1_x5.0_linux_amd64 | grep '0\.7\.1'
0.7.1
$
# Verify old string is gone
$ strings ~/Downloads/packer-plugin-xenserver_v0.7.1_x5.0_linux_amd64 | grep 'v0\.6\.1'
$
Hi @ddelnano, Thank you for the fix !
With
root@Grille-Pain:~# packer -v
Packer v1.11.0
and
xenserver = {
version = "= v0.7.1"
source = "github.com/ddelnano/xenserver"
}
It's working !
I'll close this PR, thank you again for your time !
Since the last packer update (1.11.0, release on the 2024-05-31), Hashicorp introduce a breaking change.
A colleague installed today the last packer version and had this message:
He had to downgrade his packer to stay on version 1.10.3.
I checked in the plugin code by curiosity, and saw it was simply a line in the main.go that needed a change :D
So, this is my PR :)
I suppose I can be automated, but I have no idea how to do that.
Thank you for your time and your work @ddelnano