refactor: replace VERSION file with version.txt for version management#51
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the gateway’s version management by renaming the tracked version file from VERSION to version.txt, and wiring that change through the release automation and build tooling.
Changes:
- Update
release-please-config.jsonto bumpgateway/version.txtinstead ofgateway/VERSION. - Replace gateway build-time version reads in
gateway/Makefileandgateway/Dockerfileto useversion.txt. - Add
gateway/version.txtand removegateway/VERSION; update the repo structure docs (AGENTS.md) accordingly.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| release-please-config.json | Points release-please “extra-files” at version.txt for the gateway package. |
| gateway/version.txt | New gateway version file introduced (currently set to 0.1.5). |
| gateway/VERSION | Old gateway version file removed. |
| gateway/Makefile | Reads version from version.txt for linker flags. |
| gateway/Dockerfile | Reads version from version.txt for linker flags during Docker builds. |
| AGENTS.md | Updates documented gateway tree entry from VERSION to version.txt. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
fixed an issue where the gateway version was wrongly pointing to a stale file. no regressions nor functionality changes.