How to properly release multiple versions #2220
Unanswered
ZauberNerd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there 👋
We want to migrate from our custom release bot to a mixture of
autoandbackport, but we are having trouble properly configuringauto.We have a lerna monorepo with multiple release branches and want to be able to:
So we basically have one "active" version which receives new features, one "maintenance" version which receives bug fixes and one "prerelease" version.
Our workflow should look like this:
workflow_dispatchor viamilestone.closedeventsWe had to change some default configs to be able to adapt to our workflow:
maintonextbecauseautouses the branch name as prerelease tagv14,v15, toversion-14,version-15because we didn't want to risk other branches that start withvto be mistaken as version branches byautoHere is the
autoconfig we're using:Explanation of config options:
auto(we haven't found a way to entirely disable them, so maybenoDefaultLabelsis good enough)@latestreleases from the currently active version branch (in our caseversion-16) so we set it asbaseBranchnextbranchWe have been able to make prereleases when calling
auto shipitfrom the default branch (next).But we have not been able to release a new major version.
For that we have committed a
BREAKING CHANGEand calledauto shipiton the default branch, but it fails with the following error message:The documentation about managing old versions seems to suggest that
autowill create theversion-16branch, which in the error message above did not happen and thus git failed to find the ref.Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions