# How can I register a new version from a branch?

**URL:** <https://discourse.julialang.org/t/how-can-i-register-a-new-version-from-a-branch/108730>\
**Category:** General Usage\
**Tags:** question, dependencies\
**Created:** [January 12, 2024, 2:42pm UTC](https://discourse.julialang.org/t/how-can-i-register-a-new-version-from-a-branch/108730 "2024-01-12T14:42:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tortar](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Post date:** [January 12, 2024, 2:42pm UTC](https://discourse.julialang.org/t/how-can-i-register-a-new-version-from-a-branch/108730/1 "2024-01-12T14:42:27Z")

</div>

I’d like to register a new patch version of a package from a branch ([GitHub - JuliaDynamics/Agents.jl at fix-agents-again](https://github.com/JuliaDynamics/Agents.jl/tree/fix-agents-again)), which is a lot behind the `main` branch containing instead a new major release (not stable enough to be registered yet). I want to do so since I’d like to fix some bugs due to dependency updates releasing just a patch version (5.17.2, before was 5.17.1) pinning some dependencies to past versions because the newer versions of such packages break it, at the same time I want to keep the `dev` version to 6.0, am I doing this correctly in registrator? Thanks a lot in advance

 ![Screenshot from 2024-01-12 15-36-20](https://global.discourse-cdn.com/julialang/original/3X/2/1/213ef81deb9363f84064009fc059d96c318fdaa8.png)

Don’t want to make a mess 😅

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 12, 2024, 5:21pm UTC](https://discourse.julialang.org/t/how-can-i-register-a-new-version-from-a-branch/108730/2 "2024-01-12T17:21:20Z")

</div>

I would create a dedicated release branch `release-5.17` and then from that branch tag individual releases as their version numbers `v5.17.2`.

Julia itself follows this pattern. For example, there is a [release-1.10](https://github.com/JuliaLang/julia/tree/release-1.10) branch and a [v1.10.0](https://github.com/JuliaLang/julia/tree/v1.10.0) tag.

---

<div class="post-metadata">

**Author:** ![Tortar](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Post date:** [January 12, 2024, 6:05pm UTC](https://discourse.julialang.org/t/how-can-i-register-a-new-version-from-a-branch/108730/3 "2024-01-12T18:05:17Z")

</div>

Thank you for the advice, but if I release the new version from the branch I created, even if it doesn’t have a good name, there shouldn’t be any problem then right? (I have updated the `project.toml` file to `5.17.2`)
