Backport releases for packages?

Is it possible to manage backport releases with JuliaRegistrator? Or is there another standard procedure ?

The use case:

Assume I have version v1.5 of MyPkg.jl and already released v2.0. Some users will need some time to get up to speed with v2.0 due to breaking changes. Now someone finds a bug in v1.5 which is also in v2.0, who however has no time in the moment to update to v2.0.

So I want to fix the bug and release both v2.0.1 and v1.5.1 with the fix. The JuliaRegistraor bot helps me to release v2.0.1, but how to release v1.5.1 of the package such that users can install it via Pkg ?

5 Likes

You need to keep a backport branch, and when registering a version for the backport branch you need to pass JuliaRegistrator the branch name.

3 Likes

Ah the optional branch information in the register command

@JuliaRegistrator register branch=name-of-your-branch

in GitHub - JuliaRegistries/Registrator.jl: Julia package registration bot !

Thanks!