{"html_url": "https://github.com/simonw/datasette/issues/680#issuecomment-691526635", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/680", "id": 691526635, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MTUyNjYzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-12T18:18:50Z", "updated_at": "2020-09-12T18:18:50Z", "author_association": "OWNER", "body": "I'm happy with the not-quite-automated way I'm doing this, so I'm going to close this issue.\r\n\r\nThat's documented here https://docs.datasette.io/en/0.48/contributing.html#release-process - I use https://euangoddard.github.io/clipboard2markdown/ to create the GitHub releases markdown version.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569275763, "label": "Release automation: automate the bit that posts the GitHub release"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/680#issuecomment-590106416", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/680", "id": 590106416, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDEwNjQxNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-23T19:26:40Z", "updated_at": "2020-02-23T19:26:40Z", "author_association": "OWNER", "body": "I think this should go a step further: I'd like some extra tests that run when a new build is being shipped and confirm that it has release notes in the right place.\r\n\r\nSo this is a Travis CI responsibility.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569275763, "label": "Release automation: automate the bit that posts the GitHub release"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/680#issuecomment-590030425", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/680", "id": 590030425, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDAzMDQyNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-23T05:53:48Z", "updated_at": "2020-02-23T05:53:48Z", "author_association": "OWNER", "body": "For the actual implementation: I think this is a GitHub Action.\r\n\r\nIt looks for new tags, and when a tag is created it builds the docs using Sphinx, extracts the latest HTML changelog entry using BeautifulSoup, cleans it up a bit (I think the only thing that needs doing is turning relative links into absolute ones), runs it through pypandoc to create `gfm`, then uses the GitHub releases API to post the changelog as a release.\r\n\r\nhttps://developer.github.com/v3/repos/releases/#create-a-release", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569275763, "label": "Release automation: automate the bit that posts the GitHub release"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/680#issuecomment-590030258", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/680", "id": 590030258, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDAzMDI1OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-23T05:51:04Z", "updated_at": "2020-02-23T05:51:04Z", "author_association": "OWNER", "body": "Did a bunch of research in a Jupyter notebook and it looks like I can use `pypandoc` to achieve this conversion without too much trouble: https://gist.github.com/simonw/41d56712427e6a4178fc6495d664005f", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569275763, "label": "Release automation: automate the bit that posts the GitHub release"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/680#issuecomment-589914711", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/680", "id": 589914711, "node_id": "MDEyOklzc3VlQ29tbWVudDU4OTkxNDcxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-22T03:51:47Z", "updated_at": "2020-02-22T03:51:47Z", "author_association": "OWNER", "body": "I considered just updating the GitHub release with a link to the release notes, but I'm building other things against the GitHub releases API such that it's nicer to have the release notes live there.\r\n\r\nI bet I could use pandoc to automate the conversion of the formats in one or other direction.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569275763, "label": "Release automation: automate the bit that posts the GitHub release"}, "performed_via_github_app": null}