Hi, For the Trendy package I wanted to bump the version from 1.2.0 to 1.2.1 but accidentally pushed with the wrong version number. I want to fix it but I get the error below. How can I fix this? remote: Error: Illegal version bump from '1.3.1' to '1.2.1'. Check remote: http://bioconductor.org/developers/how-to/version-numbering/ remote: for details To git.bioconductor.org:packages/Trendy.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git at git.bioconductor.org: packages/Trendy.git' Thanks! Rhonda
[Bioc-devel] Help with version numbering
2 messages · Rhonda Bacher, Turaga, Nitesh
Hi Rhonda, You can fix your version in your local repo. Just try to amend your commit if your version bump is in the most recent commit. You can try, "git commit --amend" This will allow you to fix your version number and try to push again. It hasn?t changed on the server side (git.bioconductor.org) as the pre-receive hook prevents the commit with bad version coming in. Best, Nitesh
On Jun 17, 2018, at 12:56 PM, Rhonda Bacher <rhonda.bacher at gmail.com> wrote: Hi, For the Trendy package I wanted to bump the version from 1.2.0 to 1.2.1 but accidentally pushed with the wrong version number. I want to fix it but I get the error below. How can I fix this? remote: Error: Illegal version bump from '1.3.1' to '1.2.1'. Check remote: http://bioconductor.org/developers/how-to/version-numbering/ remote: for details To git.bioconductor.org:packages/Trendy.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git at git.bioconductor.org: packages/Trendy.git' Thanks! Rhonda [[alternative HTML version deleted]]
_______________________________________________ Bioc-devel at 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.