public class ReleasePublishCommand extends AbstractGitFlowCommand<Void>
Examples (flow is a JGitFlow instance):
Publish a hotfix:
flow.releasePublish("release").call();
gfConfig, git, reporter| Constructor and Description |
|---|
ReleasePublishCommand(String name,
org.eclipse.jgit.api.Git git,
GitFlowConfiguration gfConfig,
JGitFlowReporter reporter)
Create a new release publish command instance.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
protected String |
getCommandName() |
getScmMessagePrefix, isAllowUntracked, requireCleanWorkingTree, requireCommitOnBranch, requireGitFlowInitialized, requireLocalBranchAbsent, requireLocalBranchExists, requireLocalBranchNotBehindRemote, requireNoExistingHotfixBranches, requireNoExistingReleaseBranches, requireRemoteBranchAbsent, requireRemoteBranchExists, requireTagAbsent, setAllowUntracked, setScmMessagePrefixpublic ReleasePublishCommand(String name, org.eclipse.jgit.api.Git git, GitFlowConfiguration gfConfig, JGitFlowReporter reporter)
JGitFlow.hotfixPublish(String)name - The name of the featuregit - The git instance to usegfConfig - The GitFlowConfiguration to usepublic Void call() throws NotInitializedException, JGitFlowGitAPIException, DirtyWorkingTreeException, JGitFlowIOException, LocalBranchMissingException, RemoteBranchExistsException
protected String getCommandName()
getCommandName in class AbstractGitFlowCommand<Void>Copyright © 2013 Atlassian. All Rights Reserved.