#We need a way to list out releases in our pipeline

1 messages · Page 1 of 1 (latest)

silk arch
#

We are in the process of adopting Shorebird in our company. I'm building the pipeline that will create patches and releases, but it's a bit difficult because we can't get a list of the current releases.

A command like this would be very much appreciated 🙏

shorebird releases list

The plan is to create a new release every time there is a build number in the pubspec.yaml file that does not have a release. We could track this ourselves, but it seems like this should be a feature of the CLI.

The alternative right now seems to be to just try to create a release and let it fail, but that is very hacky and increases the build times. I also looked at the preview command to see if maybe we could derive the list, but it seems like there is no way to just pass the --flavor to it without having the CLI produce an interactive TUI

formal dome
#

Certainly could add something like that. We have the functionality for shorebird preview to do that, for example.

#

Part of the reason why teh build number check is so late in the process is that xcode or gradle can change the number sometimes.

silk arch
formal dome
#

Thanks, will look.

#

We've had several requests for better api support and I think it makes sense in this very agent-first dev world we live in now.

silk arch
#

Will we run into problem if just write our own CLI? I see the recommendation, but will we be blocked in the future if we create a cli of our own that just interacts with the API?

#

There are things that the shorebird cli is missing but that are exposed in the API that would be neat to be able to just add at our own pace.

If we wont run into future issues(like you blocking our cli), is there any public documentation for the API that shorebird cli talks to under the hood?

formal dome
silk arch
#

Thanks 🙌