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

Cut release branch from master, warn when master != upstream/master. #76

Merged
merged 2 commits into from
Oct 9, 2018

Conversation

busunkim96
Copy link
Contributor

Closes #66

  • Release branch is cut from master instead of origin/master
  • Releasetool checks that master is up to date with the upstream master branch.
/ Hey, busunkim, let's release some stuff!
> Determining GitHub context.
Origin: busunkim96/google-cloud-python, Upstream: GoogleCloudPlatform/google-cloud-python
> Comparing upstream/master to master.
master is up to date with upstream/master
...
o/ Hey, busunkim, let's release some stuff!
> Determining GitHub context.
Origin: busunkim96/google-cloud-python, Upstream: GoogleCloudPlatform/google-cloud-python
> Comparing upstream/master to master.
WARNING: master is not up to date with upstream/master
> Would you like to continue? [y/N]: y
...

@busunkim96 busunkim96 requested a review from theacodes October 9, 2018 00:04
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 9, 2018
Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

# Compare upstream/master with master
click.secho(f"> Comparing {ctx.upstream_name}/master to master.", fg="cyan")

if releasetool.git.diff(f"{ctx.upstream_name}/master", "master") == "":

This comment was marked as spam.

@theacodes theacodes merged commit d049a66 into googleapis:master Oct 9, 2018
@busunkim96 busunkim96 deleted the change-base-branch branch October 9, 2018 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants