[Bioc-devel] undo decrease of package version

Turaga, Nitesh Nite@h@Tur@g@ @ending from Ro@wellP@rk@org
Thu Jun 14 15:29:12 CEST 2018

Hi Matthais,

You can change your commit locally. Your version hasn’t been updated because the pre-receive hook has caught it. Just to further explain, “pre-receive” is before the the commit is received by the bioconductor server, so the version on the server is still correct and unchanged.

You would need to edit your version on your local repository. Simply change the version number to a correct one and you should be able to push. If you are particular about your version numbers, and don’t want any bad versions along the way then you may try to amend your commit

	`git commit —amend` 

This works ONLY if the version bump was in most recent commit on your local branch.

Let me know if this helps. If you have any further questions reply to this thread.



> On Jun 14, 2018, at 9:14 AM, Matthias Lienhard <lienhard using molgen.mpg.de> wrote:
> Hi all,
> I accidentally decreased the version of my package qsea in the master branch from 1.7.0 to 1.5.2, which I cannot undo now, because of checks of the pre-receive hook:
> git push upstream master
> X11 forwarding request failed on channel 0
> Counting objects: 6, done.
> Delta compression using up to 64 threads.
> Compressing objects: 100% (6/6), done.
> Writing objects: 100% (6/6), 642 bytes | 642.00 KiB/s, done.
> Total 6 (delta 4), reused 0 (delta 0)
> remote: Error: Illegal version bump from '1.5.2' to '1.7.1'. Check
> remote: http://bioconductor.org/developers/how-to/version-numbering/
> remote: for details
> To git.bioconductor.org:packages/qsea.git
>  ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to 'git using git.bioconductor.org:packages/qsea.git'
> What can I do to correct my mistake?
> Best regards, Matthias
> -- 
> Matthias Lienhard
> Max Planck Institute for Molecular Genetics
> Department of Computational Biology
> Bioinformatics Group
> Ihnestr. 63 - 73
> 14195 Berlin
> phone: +49 (0)30 8413-1675
> _______________________________________________
> Bioc-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.

More information about the Bioc-devel mailing list