Ability to set namespace
as prefix
#129
Replies: 3 comments 3 replies
-
Actually I think you could actually just set the prefix and it will act as a "namespace", with some possible edge cases if your prefix includes numbers or one prefix is a substring of another. Prefix was not intended for such use but I believe it would work, the namespace unit tests all pass when I change them to use The |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Was it this one https://github.com/PaulHatch/semantic-version/blob/master/action.yml#L11 ? Eg to set |
Beta Was this translation helpful? Give feedback.
-
Hello,
currently,
namespace
always will be added as a suffix, egv1.0.1-namespace
.It would be good if we could set where to put
namespace
viaversion_format
input.Maybe something like:
version_format: "${namespace}-${major}.${minor}.${patch}"
, with default as it is:version_format: "${major}.${minor}.${patch}-${namespace}"
.Maybe it can be another suggestion how to set it as prefix.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions