Repository navigation
chore: release-please for every version string, CHANGELOG, and a visible build version - #92
Merged
Merged
Conversation
…ble build version - release-please keeps a "chore: release X.Y.Z" PR that bumps Chart.yaml version/appVersion, the api/mcp __version__, ui/package.json and its lockfile together and maintains CHANGELOG.md. It never tags or releases: merging the PR bumps Chart.yaml, and pack-release creates nebari-apps-<version> as before (release-please's tag format matches). - The api/mcp pyproject versions are dynamic (read from __init__.py), so uv.lock no longer records them and a release needs no relock; FastAPI and FastMCP report __version__. - GET /api/v1/version (public) returns the version and the image build, which the chart passes as the api image tag; /config carries both and the UI shows them in the account menu. - A lint job fails when any version string disagrees with the manifest. - README and Getting started: a source install needs `*.image.tag=latest`. Closes #52 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016pvMUQJoLkBDk6B94TTm45
|
📄 Docs preview for |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #52.
What changed
release-please.yaml, v5.0.0, SHA-pinned): keeps one openchore: release X.Y.ZPR. It bumps every version string together and prepends the release'sCHANGELOG.mdsection, built from the conventional-commit PR titles since the last release. The strings are:versionandappVersion(via# x-release-please-versionmarkers)__version__in api and mcpui/package.json, plusversionandpackages[""].versionin its lockfileskip-github-release, because pack-release skips signing and publishing if the release tag already exists. Merging the release PR bumpsChart.yaml, andrelease.yaml/pack-release cutnebari-apps-<version>exactly as today.component+ nov) matchesnebari-apps-<version>, so release-please finds the previous release.skip-labelingstops a merged release PR from sitting at "autorelease: pending", which would block the next run.bootstrap-shais thev0.1.0commit, so the first changelog starts there.apiandmcpdeclaredynamic = ["version"]and read it from__init__.py(hatch). uv.lock no longer records the project version, so a release bump needs no relock. FastAPI and FastMCP (serverInfo.version) now report__version__instead of a third hard-coded"0.1.0".GET /api/v1/versionreturns{"version": "<release>", "build": "<image tag>"}.build-argsinput, so the chart passesapi.image.tag(sha-<commit>for released charts) asAPPS_BUILD./configcarries both values, and the UI shows "Apps Pack v0.1.0 (sha-…)" at the bottom of the account menu..release-please-manifest.json.RELEASE_PLEASE_TOKENsecret, and the version endpoint./version.*.image.tag=latest.Needs a maintainer
Optionally, add a
RELEASE_PLEASE_TOKENsecret: a bot token with contents and pull-requests write. Without it, the workflow falls back toGITHUB_TOKEN, and a PR opened that way doesn't trigger CI. Closing and reopening the release PR starts its checks.Testing
release-please release-pr --dry-run --target-branch chore/versioning):chore: release 0.2.0.test_version); mcp 35 pass; UI build and 51 tests pass. ruff, mypy, Biome, actionlint and zizmor are clean.ui/package.jsonedited to 0.1.1 it fails and names the file.helm templaterendersAPPS_BUILD.🤖 Generated with Claude Code
https://claude.ai/code/session_016pvMUQJoLkBDk6B94TTm45