Skip to content

Update create-release with some extra options#69

Open
Phantomical wants to merge 2 commits intoKSPModdingLibs:mainfrom
Phantomical:update-create-release
Open

Update create-release with some extra options#69
Phantomical wants to merge 2 commits intoKSPModdingLibs:mainfrom
Phantomical:update-create-release

Conversation

@Phantomical
Copy link
Copy Markdown

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.

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.

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"
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.

What do you think about making this default? This WAS the default before 1.0 iirc.

Copy link
Copy Markdown
Author

@Phantomical Phantomical May 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants