Skip to content

Feature request: add flag to exclude pre-release versions (beta/ea/dev) #439

@ElfoLiNk

Description

@ElfoLiNk

Summary

When running nova find, the output includes pre-release versions (e.g. beta, ea, dev) as the "latest" available version for a chart. There is currently no built-in way to exclude these from the results.

Use case

When automating Helm chart version updates, pre-release versions (e.g. 1.9.18-dev, 39.1.0-ea.2, 1.5.0-beta.0) are not suitable for production environments and should be skipped automatically. Currently, users must filter the output manually in their own scripts.

Proposed solution

Add one or more CLI flags to exclude pre-release versions, for example:

  • --exclude-prerelease — exclude any version containing pre-release identifiers (beta, ea, dev, alpha, rc, etc.)
  • Or more granular flags: --exclude-beta, --exclude-ea, --exclude-dev

This would allow users to safely automate updates without accidentally picking up unstable versions.

Example

nova find --helm --show-old --exclude-prerelease

Would skip charts where the latest version is something like 1.9.18-dev or 39.1.0-ea.2 and instead show the latest stable version.

Workaround

Currently filtering must be done manually in post-processing scripts by checking if the version string contains beta, ea, dev, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdding additional functionality or improvementstriageThis bug needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions