Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: option to create a new GitHub Release instead of a tag on minil release #266

Open
cxw42 opened this issue May 15, 2019 · 0 comments

Comments

@cxw42
Copy link
Contributor

cxw42 commented May 15, 2019

Currently, Minilla::Release::Tag makes a regular tag and pushes it to the repo origin. I use GitHub releases alongside CPAN. Therefore, I would like to request an option to replace the Tag step with:

  • creating a new GitHub Release (API docs)
  • uploading the tgz as an artifact (API docs).
  • git fetch --tags to pull the tag associated with the release from GitHub

I cannot use release hooks for this, since the hooks run before the tarball is created.

This option would require the developer to have access to a GitHub repo access token, so would require an additional file (not commited to the repo) rather than just using minil.toml.

Thank you for considering this request!

Edit Similar code exists for Dist::Zilla: https://metacpan.org/pod/Dist::Zilla::Plugin::GitHub::UploadRelease . However, I am using Minilla precisely to avoid using full D::Z :) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant