sneak/tools/copybara/copy.bara.sky
Colin McMillen 82cf612834 update copybara config to point at new public URL
GitOrigin-RevId: a664378a81e2e76e03e74673751f133812b043e2
2020-02-13 14:54:54 -05:00

42 lines
1.1 KiB
Plaintext

sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
sourceUrlGitLab = "git@gitlab.com:SemiColinGames/sneak.git"
destinationUrlGitLab = "git@gitlab.com:SemiColinGames/sneak-public.git"
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
core.workflow(
name = "github",
mode = "ITERATIVE",
origin = git.origin(
url = sourceUrlGitHub,
ref = "master",
),
destination = git.destination(
url = destinationUrlGitHub,
fetch = "master",
push = "master",
),
origin_files = glob(files),
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
)
#core.workflow(
# name = "gitlab",
# mode = "ITERATIVE",
# origin = git.origin(
# url = sourceUrlGitLab,
# ref = "master",
# ),
# destination = git.destination(
# url = destinationUrlGitLab,
# fetch = "master",
# push = "master",
# ),
# origin_files = glob(files),
# authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
#)