You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Java-Projects it is quite common, that pre-release-versions are marked with the -SNAPSHOT suffix. Since the whole Java (Maven/gradle) eco-system depends on this highly opinionated suffix, it would be good, to be able to support this in the semantic-release system, probably by an own plugin.
Right now the versioning of prereleasse-versions with the pre-release "SNAPSHOT" would produce something like "SNAPSHOT.2", but it would be great to customize this, so that the incremented number is not on the end but before the suffix (eg. -2-SNAPSHOT).
As an additonal feature, it would be great to be able to attach additional information to the version, like eg. the current datetime and/or thea commit-id. So with this, the version could look something like ---SNAPSHOT.
At best, this could be done via a regular expression in the prerelease-property, but an additonal plugin-like system could be used as well.
What do you think?
The text was updated successfully, but these errors were encountered:
Would be also interested in such feature.
While looking through the code, get-next-release for prerelease shouldn't be hardcoded. Is there any option to replace branch name with an env variable? Or commit short sha?
New plugin motivation
In Java-Projects it is quite common, that pre-release-versions are marked with the
-SNAPSHOT
suffix. Since the whole Java (Maven/gradle) eco-system depends on this highly opinionated suffix, it would be good, to be able to support this in the semantic-release system, probably by an own plugin.Right now the versioning of prereleasse-versions with the pre-release "SNAPSHOT" would produce something like "SNAPSHOT.2", but it would be great to customize this, so that the incremented number is not on the end but before the suffix (eg. -2-SNAPSHOT).
As an additonal feature, it would be great to be able to attach additional information to the version, like eg. the current datetime and/or thea commit-id. So with this, the version could look something like ---SNAPSHOT.
At best, this could be done via a regular expression in the prerelease-property, but an additonal plugin-like system could be used as well.
What do you think?
The text was updated successfully, but these errors were encountered: