diff --git a/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java b/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java index 0028b87..f94729a 100644 --- a/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java +++ b/src/main/java/com/bioraft/rundeck/nexus/BranchOrVersion.java @@ -96,7 +96,7 @@ public BranchOrVersion(String path) { * Anything else is considered to be a branch. */ public boolean isVersion() { - return versionOrBranch.matches("^(v|rc)?\\d+[.]\\d+"); + return versionOrBranch.matches("^(v|rc)?\\d+[.]\\d+?.*+"); } /**