chore: centralize app version and add CHANGELOG#47
Merged
gordonmurray merged 1 commit intoApr 16, 2026
Conversation
- Add VERSION file at repo root as single source of truth
- backend/app.py reads VERSION at import, replacing hardcoded strings
- Dockerfile uses APP_VERSION build-arg for the image.version label
- CI reads VERSION and passes it as a build-arg on every build
- Add :v{version} GHCR tag on canonical Lance variant for v* tags
- Sync pyproject.toml version to 0.2.0
- Seed CHANGELOG.md with entries since v0.1.0
- Point image.source label at the lance-format org
Fixes lance-format#46
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.
Summary
VERSIONat repo root as the single source of truth for the app version.backend/app.pyreadsVERSIONat import; hardcoded0.1.0strings removed.Dockerfileuses anAPP_VERSIONbuild-arg for theorg.opencontainers.image.versionlabel.VERSIONonce per run and passes it as a build-arg on every matrix build.:v{version}GHCR tag on the canonical Lance variant when av*tag is pushed.backend/pyproject.tomlversion synced to0.2.0.CHANGELOG.mdseeded with entries sincev0.1.0in Keep-a-Changelog format.image.sourcelabel corrected tohttps://github.com/lance-format/lance-data-viewer.After merge
v0.2.0onmain. CI produces:ghcr.io/lance-format/lance-data-viewer:stableghcr.io/lance-format/lance-data-viewer:v0.2.0ghcr.io/lance-format/lance-data-viewer:app-0.2.0_lancedb-{0.3.1,0.3.4,0.5,0.16.0,0.24.3,0.29.2}gh release create v0.2.0 --generate-notes.Test plan
/healthzon a built image reports"app_version": "0.2.0"and"build_tag": "app-0.2.0_lancedb-0.29.2".org.opencontainers.image.versionreads0.2.0(docker inspect).v0.2.0tag push, the GHCR tag list gains:stableand:v0.2.0alongside the existing:lancedb-*entries.Fixes #46