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

Support multiple backports #4

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Feb 4, 2021

  1. Support several backports in a single command.

    When working in large projects with more than one release branch the old
    code made us write a comment PER branch, resulting in something like:
    
    /sudo backport d16-9
    /sudo backport xcode12.4
    /sudo backport xcode12.5
    
    That is a lot of work and developers are lazy animals. We already
    supported using more than one branch in the regexp but it resulted in an
    error later in the script. This commit makes the required changes to
    ensure that we support several branches.
    
    1. Pares all branches, creates a collection in the params.
    2. If only one branhc is used, we create a collection with a single
       object, else several.
    3. We trigger a backport PER branch in a loop using a scriptblock.
    4. The exit code is the addition of all the execitions, resulting in 0
       if all worked or the number of errors.
    mandel-macaque committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    fd09c36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a68f46d View commit details
    Browse the repository at this point in the history
  3. Fix english

    mandel-macaque authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    339c63a View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Use '-is' operator.

    mandel-macaque committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    d586b11 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'support-multiple-backports' of github.com:mandel-macaqu…

    …e/backport-bot-action into support-multiple-backports
    mandel-macaque committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    920fd13 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Configuration menu
    Copy the full SHA
    11468ad View commit details
    Browse the repository at this point in the history
  2. Close hash literal

    cadsit committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    abb3284 View commit details
    Browse the repository at this point in the history