         }
         
         
-        _ = try Process.execute("git", "clone", package, "./" + name + ".xcworkspace/Projects/" + packageName, "--depth=1")
+        _ = try Process.execute("git", "clone", package, "./" + name + ".xcworkspace/Projects/" + packageName, "-b=" + tag, "--depth=1")
         _ = try Process.execute("bash", "-c", "cd " + name + ".xcworkspace/Projects/" + packageName + "; swift package generate-xcodeproj;")
         
         

        return context.container.future()
    }
}

#if !os(Linux)

// The MIT License (MIT)
//
// Copyright (c) 2017 Caleb Kleveter
