-
I've have a
I want, in this case it became an: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@SKProCH "nightly" suggests that you have a scheduled job which builds artifacts and publishes them in some way. Bear in mind that the design philosophy around MinVer is "tag first". I.e. the first thing you do before you release (whether pre-release or not), is to tag the repo. The philosophy assumes that the auto-generated versions (i.e. those with only height added) are not being released, and are only used for ad-hoc internal testing, etc. Attempts to use those versions for any kind of release usually end up in conflict with the design philosophy in some way. So, if I understand your use case correctly, I would remove the For example (pseudo-code):
How you augment the version (step 2) is up to you. E.g. you could simply append your nightly identifiers:
The above versions are valid SemVer, but a nicer, subtle variant of that is to be smarted with the dots and dashes:
Another option is to inject your nightly identifiers into the start of the pre-release identifiers:
You could also avoid using |
Beta Was this translation helpful? Give feedback.
@SKProCH "nightly" suggests that you have a scheduled job which builds artifacts and publishes them in some way. Bear in mind that the design philosophy around MinVer is "tag first". I.e. the first thing you do before you release (whether pre-release or not), is to tag the repo. The philosophy assumes that the auto-generated versions (i.e. those with only height added) are not being released, and are only used for ad-hoc internal testing, etc. Attempts to use those versions for any kind of release usually end up in conflict with the design philosophy in some way.
So, if I understand your use case correctly, I would remove the
nightly
default pre-release phase (or replace it with another d…