Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option --create-missing to merge task #8

Open
sengmann opened this issue Jan 20, 2023 · 0 comments
Open

add option --create-missing to merge task #8

sengmann opened this issue Jan 20, 2023 · 0 comments

Comments

@sengmann
Copy link
Member

In many cases we use the tcc-cli with a config like this:

module.exports = {
  "merges": [
    [
      "v8/00-start",
      "v8/01-create-project/solution",
    ],
    [
      "v8/01-create-project/solution",
      "v8/02-data-binding/solution",
    ],
}

When changing the prefix we have to create all branches per hand before we can merge for the first time. I think something like this would be nice:

const version = "v8"
module.exports = {
    "merges": [
        [
            `${version}/00-start`,
            `${version}/01-create-project/solution`,
        ],
        [
            `${version}/01-create-project/solution`,
            `${version}/02-data-binding/solution`,
        ],
    ]
}
tcc-cli merge --create-missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant