Skip to content

Bundle release assets into LanguageTags.7z - #208

Merged
ptr727 merged 3 commits into
developfrom
feature/release-7z-packaging
Jun 28, 2026
Merged

Bundle release assets into LanguageTags.7z#208
ptr727 merged 3 commits into
developfrom
feature/release-7z-packaging

Conversation

@ptr727

@ptr727 ptr727 commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Reinstates the v1.3-style release packaging: each GitHub release attaches a single fixed-name LanguageTags.7z bundling the compiled library (dll, pdb, deps.json, xml) plus the .nupkg and .snupkg, instead of the raw .nupkg/.snupkg. This gives external clients a deterministic releases/latest/download/LanguageTags.7z URL with no asset-list parsing.

Changes (build-release-task.yml)

  • Build OutputPath and PackageOutputPath both to the publish dir (library + packages together).
  • New Compress release asset step: 7z a -t7z .../LanguageTags.7z .../publish/* (publish-gated). ubuntu-24.04 ships p7zip-full, so 7z needs no install.
  • Upload + attach LanguageTags.7z (replacing publish/*).

NuGet publishing is unchanged (the .nupkg/.snupkg still push to NuGet.org). WORKFLOW.md D4.4 / single-target seam / 5A-D4 updated to describe the 7z bundle.

Verified end-to-end via a workflow_dispatch prerelease before promotion.

🤖 Generated with Claude Code

The GitHub release attached the raw .nupkg/.snupkg. Reinstate the v1.3
behavior: build the library and packages into one dir, archive them into a
fixed-name LanguageTags.7z, and attach that single deterministic asset
(releases/latest/download/LanguageTags.7z) instead of the raw files.

NuGet publishing is unchanged - the .nupkg/.snupkg still push to NuGet.org;
only the GitHub release asset changes. WORKFLOW.md updated to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 28, 2026 01:30

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.

Pull request overview

This PR restores a single-asset GitHub Release packaging model by producing and attaching a fixed-name LanguageTags.7z that bundles the compiled library outputs plus the .nupkg/.snupkg, enabling a deterministic releases/latest/download/LanguageTags.7z URL.

Changes:

  • Update release documentation to describe the fixed-name LanguageTags.7z bundle as the single attached release asset.
  • Adjust build output paths so compiled library outputs and NuGet packages land together under the same publish directory.
  • Add a compression step and switch the release-asset upload/attach flow to use LanguageTags.7z instead of uploading raw publish/* contents.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
WORKFLOW.md Updates the CI/CD contract documentation to reflect the fixed-name LanguageTags.7z release asset.
.github/workflows/build-release-task.yml Produces and attaches LanguageTags.7z by co-locating build + package outputs and uploading the archive as the release asset.

Comment thread .github/workflows/build-release-task.yml Outdated
- Compress step cd's into the output dir so LanguageTags.7z is flat (no
  absolute runner path), and trim the over-verbose build/compress/release
  comments to one line each.
- delete_branch_on_merge is now off (it ignores rulesets and deleted develop
  on the promotion merge via the admin bypass). Feature and bot branches are
  deleted explicitly instead: the merge-bot now passes --delete-branch, and
  feature/fix merges already use it. main/develop survive promotions.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/build-release-task.yml
Comment thread repo-config/README.md Outdated
Feature branches are not auto-deleted with delete_branch_on_merge off; the
merge-bot --delete-branch handles bot PRs, and feature PRs are merged with
--delete-branch. (GitHub's auto-delete-head-branches setting ignores deletion
protection for non-default branches, which is why it deleted develop; the fix
is to keep the setting off.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ptr727
ptr727 merged commit 6c6ba04 into develop Jun 28, 2026
10 checks passed
@ptr727
ptr727 deleted the feature/release-7z-packaging branch June 28, 2026 01:52
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