[Bioc-devel] How to change version number in release
Nitesh Turaga
ntur@g@@b|oc @end|ng |rom gm@||@com
Thu Apr 30 15:17:35 CEST 2020
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 using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
More information about the Bioc-devel
mailing list