Skip to content

Generate amalgamation on releases - #31

Merged
efrecon merged 4 commits into
masterfrom
feature/release
Sep 2, 2026
Merged

efrecon merged 4 commits into
masterfrom
feature/release

Conversation

@efrecon

@efrecon efrecon commented Sep 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new release workflow interpolates the tag directly into shell commands/filenames, which can lead to unsafe evaluation and path issues unless the tag is passed safely (e.g., via env vars and sanitization/escaping).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds a version string to the primer CLI and introduces a GitHub Actions workflow to generate and upload an amalgamated primer script as a release asset when a GitHub Release is published.

Changes:

  • Add PRIMER_VERSION and surface it in --help output plus a new -V/--version flag.
  • Add a Release workflow that builds an amalgamated primer-<tag>.sh and uploads it to the GitHub Release.
File summaries
File Description
primer Introduces PRIMER_VERSION, prints version in help output, and adds -V/--version.
.github/workflows/release.yml Adds a release-published workflow to build and upload an amalgamated primer release asset.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/release.yml Outdated
Comment thread primer
efrecon and others added 2 commits September 2, 2026 08:20
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@efrecon
efrecon merged commit 3ef2067 into master Sep 2, 2026
1 check passed
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