public class ReleasePublishCommand extends AbstractGitFlowCommand<ReleasePublishCommand,Void>
flow is a JGitFlow instance):
Publish a hotfix:
flow.releasePublish("release").call();
gfConfig, git, reporter, requirementHelper| Constructor and Description |
|---|
ReleasePublishCommand(String branchName,
org.eclipse.jgit.api.Git git,
GitFlowConfiguration gfConfig)
Create a new release publish command instance.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
protected String |
getCommandName() |
doFetchIfNeeded, doPushIfNeeded, enforcer, ensureLocalBranchesNotBehindRemotes, getBranchName, getScmMessagePrefix, getScmMessageSuffix, isAllowUntracked, isFetch, isPush, runBeforeAndGetPrefixedBranchName, runExtensionCommands, setAllowUntracked, setFetch, setPush, setScmMessagePrefix, setScmMessageSuffixpublic ReleasePublishCommand(String branchName, org.eclipse.jgit.api.Git git, GitFlowConfiguration gfConfig)
JGitFlow.hotfixPublish(String)git - The git instance to usegfConfig - The GitFlowConfiguration to usepublic Void call() throws NotInitializedException, JGitFlowGitAPIException, DirtyWorkingTreeException, JGitFlowIOException, LocalBranchMissingException, RemoteBranchExistsException, JGitFlowExtensionException
protected String getCommandName()
getCommandName in class AbstractGitFlowCommand<ReleasePublishCommand,Void>Copyright © 2023 DV Bern AG. All rights reserved.