Update create-release with some extra options#69
Open
Phantomical wants to merge 2 commits intoKSPModdingLibs:mainfrom
Open
Update create-release with some extra options#69Phantomical wants to merge 2 commits intoKSPModdingLibs:mainfrom
create-release with some extra options#69Phantomical wants to merge 2 commits intoKSPModdingLibs:mainfrom
Conversation
This commit introduces some new options to the create-release workflow that can be used to control the exact paths in the output artifact. The options are: * `flatten` - Strip out the top level directory that the assemble-release action adds within the zip. * `version-file` - Specify a version file to be uploaded to the release alongside the existing release artifact.
JonnyOThan
reviewed
May 7, 2026
|
|
||
| flatten: | ||
| description: If `true`, the zip is built with the artifact files at the root instead of nested under a top-level `output-file-name` directory. Use this when consumers expect to extract the archive directly into a target directory (e.g. `GameData/`, `LICENSE`, etc. at the root of the zip). | ||
| default: "false" |
Contributor
There was a problem hiding this comment.
What do you think about making this default? This WAS the default before 1.0 iirc.
24f322c to
afe8391
Compare
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.
This commit introduces some new options to the create-release workflow that can be used to control the exact paths in the output artifact.
The options are:
flatten- Strip out the top level directory that the assemble-release action adds within the zip.version-file- Specify a version file to be uploaded to the release alongside the existing release artifact.