-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Following comment #531 (comment), we should support both maintained versions of go-mockery. It'll let us package new packages such as terragrunt which relies on go-mockery 2 to be built today.
A good example on how to do it in a straightforward way is to look at the [python](https://github.com/brioche-dev/brioche-packages/blob/c4e1355887f80fdf29796502c5d92f68db7864ea/packages/python/project.bri#L6) package with a few adaptations:
export const project = {
name: "go_mockery",
version: "3.2.5",
extra: {
currentMajorVersion: "3",
majorVersions: {
"3": "3.2.5",
"2": "2.53.4",
},
},
};Two additional things that will need to be taken into account:
- Update the
testmethod to ensure all the major versions are tested - Tweak the
live-updatemethod to retrieve the latest version of both major releases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers