Add --release option to make command#44
Merged
Merged
Conversation
The versionName is now derived using: git describe --tags --dirty --always Ref: #RDKEAPPRT-840
There was a problem hiding this comment.
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
versionNamefromgit describe --tags --dirty --alwayswhen not explicitly specified (or set todevelop). - Add
--releaseoption tobolt maketo 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.
ansu-mathew
approved these changes
Jun 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The versionName is now derived using:
git describe --tags --dirty --always
Ref: #RDKEAPPRT-840