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

Link template drops leading zeros in semver placeholders #367

Open
jrbarronumd opened this issue Mar 12, 2024 · 1 comment
Open

Link template drops leading zeros in semver placeholders #367

jrbarronumd opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jrbarronumd
Copy link

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

@fmartinou fmartinou self-assigned this Mar 14, 2024
@fmartinou fmartinou added the bug Something isn't working label Mar 14, 2024
@Big-Gremlin
Copy link

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants