Skip to content

Make console --info safe for ordinary and packaged builds #327

Description

@TheAngryByrd

What to build

Make the generated console --info command return useful output after ordinary builds and release packaging.

Current behavior

Ordinary builds omit release metadata. The command uses Seq.find and throws System.Collections.Generic.KeyNotFoundException when metadata is absent.

Acceptance criteria

  • Read release metadata as optional values.
  • Display unreleased when the release date is absent.
  • Display unknown when the Git hash is absent.
  • Return exit code 0 after an ordinary build.
  • Display supplied metadata after a release build.
  • Return exit code 0 from a packaged artifact.
  • Preserve existing --version and main-command behavior.

Blocked by

  • None — can start immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified and ready for an autonomous agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions