                 let version = try Version(string: argument)
                 parsedArguments.addTagToLastTarget(.version(version))
                 expectingVersion = false
+                continue
+            } else if expectingBranch {
+                let branch = argument
+                parsedArguments.addTagToLastTarget(.branch(branch))
+                expectingBranch = false
                 continue
             }
 

            return latestVersion.string
        case .master:
            return "master"
        case .version(let version):
            return version.string
        }


enum Tag {
    case master
    case branch(String)
    case version(Version)
    case latestVersion
}
