Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Prefill new "Releases" with query parameters #1410

@sindresorhus

Description

@sindresorhus

GitHub supports prefilling issues using query parameters. It would be very useful if this worked when creating new "Releases" too. Then scripts could pre-generate the release notes for new releases based on the commits and just open it for the user to edit and then publish it.

For example: https://github.com/chalk/chalk/releases/new?tag=v1.0.0&title=Foo&body=Notes would prefill the tag, title, and body fields. Since it works with issues, I kinda expected this to work with Releases too and was surprised when it didn't.

The alternative is using the GitHub API to create the actual release, but this is more complicated and requires either creating a login flow or requiring the user to get an access token, both of which are too much overhead for simple tools.

My specific use-case is being able to open a prefilled "Releases" entry for the user after publishing an npm package version with https://github.com/sindresorhus/np

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions