Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -281,18 +281,10 @@ public class PrepareReleaseMojo extends AbstractScmReadWriteReleaseMojo {
* <li><code>artifactId</code> - The artifactId of the root project.
* <li><code>releaseLabel</code> - The release version of the root project.
* </ul>
* It is recommended to automatically skip this commit from the default CI/CD build by including the string {@code ci skip}
* in the commit message which is understood
* by most CI systems, like <a href="https://docs.github.com/en/actions/how-tos/manage-workflow-runs/skip-workflow-runs">GitHub Actions</a>,
* <a href="https://docs.gitlab.com/ci/pipelines/#skip-a-pipeline">GitLab Pipelines</a>, and probably some more.
* Otherwise the non-SNAPSHOT version is built again (outside the actual release) and potentially also deployed somewhere
* (which often leads to failed builds).
* @since 3.0.0-M1
*/
@Parameter(
defaultValue = "@{prefix} prepare release @{releaseLabel} [ci skip]",
property = "scmReleaseCommitComment")
private String scmReleaseCommitComment = "@{prefix} prepare release @{releaseLabel} [ci skip]";
@Parameter(defaultValue = "@{prefix} prepare release @{releaseLabel}", property = "scmReleaseCommitComment")
private String scmReleaseCommitComment = "@{prefix} prepare release @{releaseLabel}";

/**
* The SCM commit comment for the commit setting pom.xml back to development version.
Expand Down