Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend CLI with --publish flag option configurable #380

Open
edvinasjurele opened this issue Mar 21, 2024 · 0 comments
Open

Extend CLI with --publish flag option configurable #380

edvinasjurele opened this issue Mar 21, 2024 · 0 comments

Comments

@edvinasjurele
Copy link

Is your feature request related to a problem? Please describe.

As we see the publish: true is enabled in CLI (https://github.com/storyblok/field-plugin/blob/main/packages/cli/src/commands/deploy/helper.ts#L83C7-L83C21), this it is not possible to push an update of the Plugin in draft level, thus it gets instantly published, which may not align with the way teams may use it in CI automations.

Describe the solution you'd like

It should be possible to define --publish false (though by default it is enabled, that is fine), so the release process would be 2 steps:

  1. CI automation pushes new version of plugin after monorepo project tag creation in "draft" level
  2. Release manager or QA makes sure the plugin is as expected
  3. Manually publish a certain version to go live.

Describe alternatives you've considered

No alternatives, we have to be sure the version we push is the one we want to appear on production, thus there is no doublecheck step or other flows possible.

Additional context

Severity: minor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant