Skip to content

Link releases with commit #24362

Discussion options

You must be logged in to vote

Hello @mattgolding and welcome to the community.

GitHub Releases are always tied to git tags rather than specific commits, even though tags themselves refer to specific commits. So, in order to find the commit that a release refers to, you have to first find the tag the release is linked to and then find the commit the tag is linked to. For example:

$ http https://api.github.com/repos/lee-dohm/last-assigned/releases/latest

----- SNIP ----
"created_at": "2020-10-02T20:50:18Z",
"draft": false,
"html_url": "https://github.com/lee-dohm/last-assigned/releases/tag/v1.0.2",
"id": 32111440,
"name": "v1.0.2",
"node_id": "MDc6UmVsZWFzZTMyMTExNDQw",
"prerelease": false,
"published_at": "2020-10-02T2…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment