upload-rust-binary-action icon indicating copy to clipboard operation
upload-rust-binary-action copied to clipboard

Allow setting the name of the leading directory

Open pchan37 opened this issue 6 months ago • 2 comments

Hello,

Right now, leading-dir is either true or false and if it's true, it uses the archive name as the name of the folder. It would be nice to allow the customization of the name of the directory. My primary use case for this is to create an App.app/Contents directory as root for a MacOS app.

Thank you.

pchan37 avatar Jun 12 '25 15:06 pchan37

This sounds reasonable. I would accept a PR to implement this.

taiki-e avatar Jun 22 '25 09:06 taiki-e

Ok, would we want to maintain backward compatibility and add a new variable such as leading-dir-path to hold the actual path and keep leading-dir as true/false? The default for leading-dir-path can be archive. Downside is leading-dir and bin-leading-dir would have different types.

pchan37 avatar Jun 23 '25 22:06 pchan37