Replies: 3 comments 10 replies
-
Would be awsome if one could "apply" a function to .Tag...
This would result (if |
Beta Was this translation helpful? Give feedback.
-
that's not possible right now, but I think we can add template functions like |
Beta Was this translation helpful? Give feedback.
-
Was just thinking....would it be possible to have values of the template "piped" through external script or command? That way anyone could modify |
Beta Was this translation helpful? Give feedback.
-
I have a simple project with master branch and each release is tagged.
However, I am trying to figure out how name snapshots properly so that it follows SemVer.
Imagine you release (and tag) v1.0.0
The next patch release could undergo several snapshot builds before final v1.0.1 release
So there will be for example:
v1.0.1-alpha.0
v1.0.1-alpha.1
v1.0.1-alpha.2
and then finally
v1.0.1
which is then tagged in the repo
My issue is that because of snapshot template, I am getting the v1.0.0-alpha.0 and so on because that is the only released tag in the repo
Is there a way to adjust the template so that it uses proper semver without having to tag each snapshot build in the repo?
This is what I use now:
I could remove tag from template and mess with Major and/or Minor, but I suspect someone has an easier way...
Thanks
Beta Was this translation helpful? Give feedback.
All reactions