Hi,

You have to reset your commits before you can update your package again.

Please do something in the order of,

1) git reset --soft <commit number prior to accidental version bump>

2) Edit your DESCRIPTION file to fix the version number.

3) git add DESCRIPTION

4) git commit -m "Version bump"

5) git push origin master

6) git push upstream master

Please note that a lot of these commands rely on your knowledge of git. If you do not have a good understanding of how git works, I recommend to figure out what these commands do in a backup repository.

Best,

Nitesh


On 4/29/2020 11:15 PM, Xu, Zongli (NIH/NIEHS) [E] via Bioc-devel wrote:
I accidently changed the second number (y) of a version number (x.y.z, in 
release version), from an even number to an odd number. Now I seems can not 
update my package anymore. Is anyone know how to change it back to an even 
number?

Thanks,
Zongli

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to