Add tag-triggered release zip workflow - #51
Merged
tesujimath merged 1 commit intoJul 7, 2026
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
|
Thanks for this! Can I trigger the workflow for e.g. 0.19.0 before merging, or does that require it to be on main? If the former, would appreciate a pointer! |
Contributor
Author
|
Good question — merge first, then backfill. \workflow_dispatch\ only runs workflows that exist on the branch you pick in the Actions UI. Until this PR is on \main, the Release workflow won't show up there. After merge:
|
Owner
|
I ran that on 0.19.0. You happy with the result? |
Contributor
Author
|
Yes, looks perfect. Verified \�ash-env-nushell-0.19.0.zip\ on the 0.19.0 release: correct layout (\�ash-env-nushell-0.19.0/bash-env.nu), byte-stable sha256 \8d5c18b9…. Switching the Numan registry to your upstream URL and dropping our mirror. Thanks for running the backfill. |
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.
Closes #50
Adds a GitHub Actions workflow that uploads
bash-env-nushell-{version}.zipwhen a semver tag is pushed (tags here use0.19.0style, novprefix).Archive layout (matches what hash-pinned package managers expect):
Built with
git archiveso the zip is byte-stable for a given tag.Triggers:
pushon semver tags (future releases)workflow_dispatchwith a tag input (e.g.0.19.0) to backfill an asset on an existing tagModeled after vyadh/nutest
release.yaml; happy to adjust naming or trigger rules.After this lands, the Numan registry can switch from our hosted mirror to your release asset on the next tag (or after a one-off dispatch for
0.19.0if you want).