[ 
https://issues.apache.org/jira/browse/LUCENE-7021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143111#comment-15143111
 ] 

Alan Woodward commented on LUCENE-7021:
---------------------------------------

The output of {{git status}} should tell you if you're up-to-date or ahead of 
your remote tracking branch.  eg:
{{
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
}}

> buildAndPushRelease.py should ensure you have no unpushed git changes
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-7021
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7021
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>
> I'm just a git newbie so I'm not sure how to add this to our release scripts, 
> but I think it's quite important that we don't up and release something the 
> world containing changes I had only committed locally and then failed to 
> push.  What if I then remove that directory after we've released?
> We should also fix the release smoke tester to confirm the git revision is 
> known ... I'll open a separate issue for that.
> I'm trying to be super careful not to do this for 5.5.0, but really the 
> release script should catch this.
> I did a bit of googling and found the magic command {{git cherry -v 
> origin/branch_5_5}} seemed to work (at least, it showed my one local commit), 
> but e.g. "origin" is just a label I use (others use "upstream"), etc., so I'm 
> not sure how to reliably do this... maybe we have to run {{git remote -v}} 
> and figure out what label use use for the "official" (wip) Apache git 
> instance?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to