Skip to content

Include the version in release archive names - #316

Merged
ASDAlexander77 merged 1 commit into
mainfrom
release-archive-version
Sep 13, 2026
Merged

ASDAlexander77 merged 1 commit into
mainfrom
release-archive-version

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

What

Release archives now carry the version in their file names, taken from the pushed tag:

Before After (e.g. tag v0.0-pre-alpha83)
tslang.zip tslang-v0.0-pre-alpha83.zip
tslang.tar.gz tslang-v0.0-pre-alpha83.tar.gz

How

create-release.yml gets a workflow-level ASSET_NAME: tslang-${{ github.ref_name }}, used wherever the archive name was hardcoded: the Windows zip and Linux tar.gz creation, the artifact upload/download between jobs, and the release asset upload. The workflow only runs on v* tag pushes, so github.ref_name is always the tag.

Notes

  • Only exercised by a tag push, so the new names first appear with the next release.
  • docs/compiler-explorer/infra/bin/yaml/typescript.yaml still downloads tslang.tar.gz. It is left unchanged because it is pinned to 0.0-pre-alpha20, whose asset has the old name; point its URL at tslang-v{name}.tar.gz when moving it to a newer release.

🤖 Generated with Claude Code

@ASDAlexander77
ASDAlexander77 merged commit bf65825 into main Sep 13, 2026
2 checks passed
@ASDAlexander77
ASDAlexander77 deleted the release-archive-version branch September 13, 2026 18:11
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.

1 participant