                 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
             }
 


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

        var parsedArguments = Arguments()
        var expectingPlatform = false
        var expectingVersion = false
        var expectingBranch = false

        for argument in arguments[1..<arguments.count] {
            if expectingPlatform {
