Skip to content

Conversation

@alicenstar
Copy link
Member

Shortcut: https://app.shortcut.com/replicated/story/133212/release-create-command-should-also-support-required-flag-if-promoted-flag-used

This PR un-hides the release create --required flag, which already existed (and works), but was hidden from the docs.

# it works:
$ ./bin/replicated release create --yaml-dir ../wordpress-enterprise --app wordpress-enterprise --promote Testing --required
  • Reading manifests from ../wordpress-enterprise ✓  
  • Creating Release ✓  
    • SEQUENCE: 177
  • Promoting ✓  
    • Channel 2C0OR0393ffJXZfcFsOrNT9eJX4 successfully set to release 177

# it errors as it should:
$ ./bin/replicated release create --yaml-dir ../wordpress-enterprise --app wordpress-enterprise --required   
Error: --required can only be used with --promote <channel>

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@alicenstar alicenstar merged commit 071042a into main Jan 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants