Skip to content

Calendar versioning #625

Answered by miniscruff
sheldonhull asked this question in Q&A
Mar 26, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Going to add one more comment to this to say that semver doesn't support zero prefix values so the actual date string will look like this:
changie batch v1.$(date -u +%Y%m.%-d%H)

The dash before d says to remove the zero prefix, you will get a semver error for the first 9 days of a month if you don't do this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@miniscruff
Comment options

Answer selected by miniscruff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants