Skip to content

chore: package releases for fork#61

Merged
kruton merged 3 commits into
mainfrom
fork-version
Jul 9, 2026
Merged

chore: package releases for fork#61
kruton merged 3 commits into
mainfrom
fork-version

Conversation

@kruton

@kruton kruton commented Jun 16, 2026

Copy link
Copy Markdown
Owner

This will help users reporting bugs and identifying which version they are running on their local system.

Copilot AI review requested due to automatic review settings June 16, 2026 16:38

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 fork-specific version identifier that gets embedded at build time (via CMake and a fork_version.txt in source archives) and surfaced in runtime diagnostics and /version-style outputs, improving bug report fidelity for packaged releases of this fork.

Changes:

  • Introduces a CMake-driven TF_FORK_VERSION (and fork_version.txt for source archives) to consistently identify fork builds.
  • Displays the fork version in startup banners, /version output, internal error messages, and core dump metadata.
  • Extends CI packaging workflow to publish a GitHub Release on v* tags with built artifacts and a source archive.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/varlist.h Adds a TF_FORK_VERSION variable entry.
src/tfio.c Includes fork version in internal error messages.
src/tfdefs.h.in Adds build-time defines for fork version.
src/tf.h Exposes fork_version as a global extern.
src/signals.c Writes fork version into crash dump metadata.
src/main.c Prints fork version in startup output (stdout and screen).
src/globals.h Adds convenience accessor macro for the new variable.
src/globals.c Defines fork_version from the configured macro.
src/command.c Prints fork version in the version command output.
packaging/make-source-archive.sh Appends fork_version.txt into generated source tarballs.
CMakeLists.txt Computes/configures TF_FORK_VERSION from fork_version.txt, git tags, or commit hash.
.github/workflows/packages.yml Adds a tag-triggered release job that bundles artifacts and creates a GitHub Release.

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

Comment thread packaging/make-source-archive.sh Outdated
Comment thread .github/workflows/packages.yml
Comment thread .github/workflows/packages.yml
kruton added 3 commits July 6, 2026 21:05
This will help users reporting bugs and identifying which version they
are running on their local system.
@kruton kruton merged commit 7156aaa into main Jul 9, 2026
32 checks passed
@kruton kruton deleted the fork-version branch July 9, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants