fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
983 stars 32 forks source link

Semver not returning proper value on triggers #309

Closed dougmaitelli closed 1 year ago

dougmaitelli commented 1 year ago

Available update recognizes semver properly image

Trigger uses semver for notification: image

Actual value delivered: image

fmartinou commented 1 year ago

The semver placeholder is not meant to return the available version but the "semver difference" between the current version and the available version. (i.e. major, minor, patch).

The doc probably deserves some kind of clarification 🤔 .

You can update your body template to Container ${name} can be updated to ${remote} and you should be fine.

dougmaitelli commented 1 year ago

@fmartinou Thanks for the clarification, yeah I feel like the term "semver" in this case is confusing since in the UI it shows the actual version tag besides the label "semver". This could be called something like "semverdiff" I don't know, but just more clarification on the docs would help too.

Thanks,