2020-02-05 18:26:16 +00:00
|
|
|
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
2020-01-18 03:57:28 +00:00
|
|
|
destinationUrlGitHub = "git@github.com:mcmillen/sneak-public.git"
|
|
|
|
|
|
|
|
sourceUrlGitLab = "git@gitlab.com:SemiColinGames/sneak.git"
|
|
|
|
destinationUrlGitLab = "git@gitlab.com:SemiColinGames/sneak-public.git"
|
|
|
|
|
|
|
|
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
2020-01-18 03:41:45 +00:00
|
|
|
|
|
|
|
core.workflow(
|
2020-01-18 03:57:28 +00:00
|
|
|
name = "github",
|
2020-01-18 03:41:45 +00:00
|
|
|
mode = "ITERATIVE",
|
|
|
|
origin = git.origin(
|
2020-01-18 03:57:28 +00:00
|
|
|
url = sourceUrlGitHub,
|
2020-01-18 03:41:45 +00:00
|
|
|
ref = "master",
|
|
|
|
),
|
|
|
|
destination = git.destination(
|
2020-01-18 03:57:28 +00:00
|
|
|
url = destinationUrlGitHub,
|
2020-01-18 03:41:45 +00:00
|
|
|
fetch = "master",
|
|
|
|
push = "master",
|
|
|
|
),
|
2020-01-18 03:57:28 +00:00
|
|
|
origin_files = glob(files),
|
2020-01-18 03:41:45 +00:00
|
|
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
2020-01-18 03:57:28 +00:00
|
|
|
)
|
2020-01-18 03:41:45 +00:00
|
|
|
|
2020-02-05 18:26:16 +00:00
|
|
|
#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>"),
|
|
|
|
#)
|
2020-01-18 03:57:28 +00:00
|
|
|
|
|
|
|
|