Repository navigation
fix(cli): use the pack output directory in the suggested release command - #50
Merged
Merged
Conversation
heoblitz
approved these changes
Nov 23, 2026
heoblitz
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for contributing!
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.
Summary
necto-cli plugin pack dist --output releaseswrites the ZIP and manifest toreleases/, but the suggestedgh release createcommand looks for both in the current directory. If an older build is still there, the command can pick up the wrong files.Print the paths where
packwrote the two assets. An explicit output directory gets absolute paths. The default keeps them short with./. Both use the CLI's existing shell quoting so a directory such asAuthor's releasesstays part of a single argument.Changelog
necto-cli plugin pack --outputnow includes the selected output directory in its suggested release command.Test Plan
mainwith the built-inshell-demopanel and--output "Author's releases". Both files existed in that folder, and neither path printed in the release command resolved from the working directory.DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer script/test swifton macOS 27.0 with Xcode 26.5. All three suites passed (200 root package tests, 285 Mac package tests and 2 SDK consumer tests). The new CLI process test lets/bin/shparse the two asset arguments and checks them against the files on disk.--quiet, the CLI omitted the hint.GitHub release publication and device/USB testing were not run. GitHub CLI reserves
#in an asset argument for a display label, so paths containing that character still have that limitation.