Skip to content

Add --release option to make command#44

Merged
astolcenburg merged 1 commit into
rdkcentral:mainfrom
astolcenburg:main
Jun 13, 2026
Merged

Add --release option to make command#44
astolcenburg merged 1 commit into
rdkcentral:mainfrom
astolcenburg:main

Conversation

@astolcenburg

Copy link
Copy Markdown
Contributor

The versionName is now derived using:
git describe --tags --dirty --always

Ref: #RDKEAPPRT-840

The versionName is now derived using:
 git describe --tags --dirty --always

Ref: #RDKEAPPRT-840
Copilot AI review requested due to automatic review settings June 12, 2026 15:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a --release switch to bolt make to enforce “release state” builds, and updates automatic versionName derivation to use git describe --tags --dirty --always so release-eligibility can be determined reliably from git state.

Changes:

  • Derive versionName from git describe --tags --dirty --always when not explicitly specified (or set to develop).
  • Add --release option to bolt make to fail builds when the repo isn’t in a release state and (for bitbake targets) when any dependency package is not a release version.
  • Update CLI help and documentation to describe the new option and release semantics.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
bolt/src/PackageConfigBuilder.cjs Updates versionName auto-derivation and adds create() to materialize a PackageConfig from builder state.
bolt/src/make.cjs Implements --release option parsing and release-state validation for the main package and (bitbake-only) dependencies.
bolt/src/bolt.cjs Updates CLI help text to include --release and its behavior.
bolt/README.md Mirrors CLI usage/help updates for --release.
bolt/docs/make.md Documents --release behavior and defines “release builds” semantics.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@astolcenburg astolcenburg requested a review from ansu-mathew June 12, 2026 15:15
@astolcenburg astolcenburg merged commit 2f661e7 into rdkcentral:main Jun 13, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants