Class GitHelper
- java.lang.Object
-
- com.github.danielflower.mavenplugins.release.GitHelper
-
public class GitHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description GitHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasLocalTag(org.eclipse.jgit.api.Git repo, String tagToCheck)static org.eclipse.jgit.lib.RefrefStartingWith(org.eclipse.jgit.api.Git repo, String tagPrefix)static StringscmUrlToRemote(String scmUrl)
-
-
-
Method Detail
-
hasLocalTag
public static boolean hasLocalTag(org.eclipse.jgit.api.Git repo, String tagToCheck) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
refStartingWith
public static org.eclipse.jgit.lib.Ref refStartingWith(org.eclipse.jgit.api.Git repo, String tagPrefix) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
scmUrlToRemote
public static String scmUrlToRemote(String scmUrl) throws ValidationException
- Throws:
ValidationException
-
-