whats-up-docker
whats-up-docker copied to clipboard
Link template drops leading zeros in semver placeholders
Slowly adding containers to my watchers, and loving this tool - Thank you for sharing!
I'm seeing an issue with the link template on one of my containers. It seems to be working correctly recognizing my container version, and the current release of 2024.02.2. My template and resulting link are below. Not sure if there's something I should be doing differently, or if it is treating the placeholders like integers instead of strings, and dropping the leading zero.
Template:
https://github.com/pi-hole/docker-pi-hole/releases/${major}.${minor}.${patch}
Link:
https://github.com/pi-hole/docker-pi-hole/releases/2024.2.2
But the link should be:
https://github.com/pi-hole/docker-pi-hole/releases/2024.02.2
Same problem with jdownloader and bookstack
https://github.com/BookStackApp/BookStack/releases/tag/v24.02.3 https://github.com/jlesage/docker-jdownloader-2/releases/tag/v24.01.1
@jrbarronumd as a workaround for the links you can use #{raw} instead of ${major}.${minor}.${patch}
@Big-Gremlin Thanks for the workaround it works. Just some rectification for those stumbling here:
- wud.link.template=https://github.com/pi-hole/docker-pi-hole/releases/tag/$${raw}