-
Notifications
You must be signed in to change notification settings - Fork 3
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
mandel-macaque
wants to merge
7
commits into
xamarin:main
Choose a base branch
from
mandel-macaque:support-multiple-backports
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Support multiple backports #4
mandel-macaque
wants to merge
7
commits into
xamarin:main
from
mandel-macaque:support-multiple-backports
Commits on Feb 4, 2021
-
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.
Configuration menu - View commit details
-
Copy full SHA for fd09c36 - Browse repository at this point
Copy the full SHA fd09c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for a68f46d - Browse repository at this point
Copy the full SHA a68f46dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 339c63a - Browse repository at this point
Copy the full SHA 339c63aView commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d586b11 - Browse repository at this point
Copy the full SHA d586b11View commit details -
Merge branch 'support-multiple-backports' of github.com:mandel-macaqu…
…e/backport-bot-action into support-multiple-backports
Configuration menu - View commit details
-
Copy full SHA for 920fd13 - Browse repository at this point
Copy the full SHA 920fd13View commit details
Commits on Feb 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 11468ad - Browse repository at this point
Copy the full SHA 11468adView commit details -
Configuration menu - View commit details
-
Copy full SHA for abb3284 - Browse repository at this point
Copy the full SHA abb3284View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.