Interface ConventionalVersionExtension
public interface ConventionalVersionExtension
Configuration, in the settings file.
Every option is named after its release-please counterpart and carries release-please's default, so the two configurations can be compared by eye and a divergence is greppable.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean> Below1.0.0, treat a breaking change as a minor bump instead of a major one.org.gradle.api.provider.Property<Boolean> Below1.0.0, treat a feature as a patch bump instead of a minor one.org.gradle.api.provider.Property<String> The version a project that has never released starts at.org.gradle.api.provider.Property<String> Prefix on release tags.
-
Method Details
-
getInitialVersion
org.gradle.api.provider.Property<String> getInitialVersion()The version a project that has never released starts at. release-pleaseinitial-version; defaults to1.0.0, which is what release-please actually cuts for a first release. -
getTagPrefix
org.gradle.api.provider.Property<String> getTagPrefix()Prefix on release tags. release-pleasetag-prefix; defaults tov. -
getBumpMinorPreMajor
org.gradle.api.provider.Property<Boolean> getBumpMinorPreMajor()Below1.0.0, treat a breaking change as a minor bump instead of a major one. release-pleasebump-minor-pre-major; defaults tofalse. No effect once the major is non-zero. -
getBumpPatchForMinorPreMajor
org.gradle.api.provider.Property<Boolean> getBumpPatchForMinorPreMajor()Below1.0.0, treat a feature as a patch bump instead of a minor one. release-pleasebump-patch-for-minor-pre-major; defaults tofalse. No effect once the major is non-zero.
-