Skip to content
Discussion options

You must be logged in to vote

Hi @Rod-at-DOH, you are incredibly close! The issue is simply a case-sensitivity typo in your version_format string.

The action expects the template variables to be strictly lowercase (${major}, ${minor}, ${patch}). Because you used uppercase, the action didn't recognize them, replaced them with nothing, and left you with just the literal v and the dots (which is why you see v..).

Also, since you have already set tag_prefix: 'v', you don't need to hardcode another v inside the version_format string, otherwise you might end up with double v's (like vv1.0.0) when using tag outputs.

Here is the corrected step:

YAML
- name: Determine semantic version
id: tagger
uses: paulhatch/semantic-versio…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Rod-at-DOH
Comment options

@syedsafeer
Comment options

Answer selected by Rod-at-DOH
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Actions Runner For issues and discussions related to the Actions Runner project source:ui Discussions created via Community GitHub templates
4 participants