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

Makefile Release staging: Pass the remote repository name as argument… #3048

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

oscerd
Copy link
Contributor

@oscerd oscerd commented Feb 28, 2022

… with origin as default

Fixes #2891

Generally speaking, when you're releasing you're pushing to the origin repository.

@github-actions
Copy link
Contributor

The backport to release-1.6.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-1.6.x release-1.6.x
# Navigate to the new working tree
cd .worktrees/backport-release-1.6.x
# Create a new branch
git switch --create backport-3048-to-release-1.6.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick ---mainline 1 d98da0f0fb8830ac9a7ae696adc24d5587f5d8fb
# Push it to GitHub
git push --set-upstream origin backport-3048-to-release-1.6.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-1.6.x

Then, create a pull request where the base branch is release-1.6.x and the compare/head branch is backport-3048-to-release-1.6.x.

@github-actions
Copy link
Contributor

The backport to release-1.8.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-1.8.x release-1.8.x
# Navigate to the new working tree
cd .worktrees/backport-release-1.8.x
# Create a new branch
git switch --create backport-3048-to-release-1.8.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick ---mainline 1 d98da0f0fb8830ac9a7ae696adc24d5587f5d8fb
# Push it to GitHub
git push --set-upstream origin backport-3048-to-release-1.8.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-1.8.x

Then, create a pull request where the base branch is release-1.8.x and the compare/head branch is backport-3048-to-release-1.8.x.

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

Successfully merging this pull request may close these issues.

Makefile Release staging: Pass the remote repository name as argument with origin as default
1 participant