bchr02 / node-pre-gyp-github

A node-pre-gyp module which provides the ability to publish to GitHub releases.
MIT License
52 stars 32 forks source link

Custom release options. #45

Open acalcutt opened 1 year ago

acalcutt commented 1 year ago

I am using this plugin for maplibre-gl-native releases and right now I have had to make my own fork to customize several release options. I am mainly changing name/target_commitish and made a toggle for prerelease based on name at https://github.com/acalcutt/node-pre-gyp-github/blob/8f505b52c1cc794b7aa273dc22c542c6fc739ada/index.js#L64-L75.

I was wondering if the code here could be changed in a way that someone could set these options so a custom release wouldn't be necessary. maybe a few more options in the package.json configuration..or something like that.

timeowilliams commented 6 days ago

@acalcutt - same issue. Currently im checking out the master branch to make this action work, but it would be nice to have the option to configure the options of branch (commitish), ext.