-
When I adopt the manual to use pre-releases with v0.27.0 (thanks for that feature! :-) ):
but I just want "dev" to be present (no "rc", "final" and no optional_value)
I get an unexpected behavior (at least unexpected to me). Instead of
I then get
Is this intentional? |
Beta Was this translation helpful? Give feedback.
Answered by
coordt
Oct 13, 2024
Replies: 1 comment 2 replies
-
This is the expected behavior. Here is some background
If what you want is a releasing strategy that looks something like:
You would change the configuration of the Was I able to answer your question? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
goto40
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the expected behavior.
Here is some background
0.1.0
could also be serialized as0.1.0-final0
. Thepre_l
valuefinal
is optional as is thepre_n
value of0
, and therefore means they doesn't have to be in the serialized version.pre_l
and setting it to["dev"]
, you have madedev
optional. You have also made it the only allowed value.