PublicLab.Editor icon indicating copy to clipboard operation
PublicLab.Editor copied to clipboard

Create release script

Open sagarpreet-chadha opened this issue 5 years ago • 6 comments

Fixes: https://github.com/publiclab/plots2/issues/8395

Created in plots2: https://github.com/publiclab/plots2/releases/tag/v4.0

sagarpreet-chadha avatar Sep 16 '20 07:09 sagarpreet-chadha

gitpod-io[bot] avatar Sep 16 '20 07:09 gitpod-io[bot]

This is cool! So this would be installed in each of our repositories? Amazing work, Sagarpreet!

jywarren avatar Sep 22 '20 14:09 jywarren

This could wait to a future revision - but I'm wondering - is there a way to link from PRs that are joining this release, so people know where they are being included? Somehow, the links from https://github.com/publiclab/plots2/releases/tag/v4.0 don't seem to show up as links on those PRs, like for example https://github.com/publiclab/plots2/pull/7954

I could imagine automatically leaving a comment (which would create a lot of notifications, though) or using a tag... not sure! Just an idea. Probably for later!

jywarren avatar Sep 22 '20 14:09 jywarren

So if we add automerge probot app, that will make sure that when we do squash and merge, it will take PR title as commit message (instead of all commit messages that are shown in the current release) Jeff, we have to generate token which has only create release and read permission only so that it is not misused.

sagarpreet-chadha avatar Sep 22 '20 15:09 sagarpreet-chadha

@jywarren so this script is not related to github actions, we will run this script on our local host. So we need to add personal access token with read only permissions. Maybe new github account for publiclab.org which will work as a bot?

sagarpreet-chadha avatar Nov 05 '20 16:11 sagarpreet-chadha

Example release https://github.com/publiclab/PublicLab.Editor/releases/tag/v3.0

sagarpreet-chadha avatar Nov 05 '20 17:11 sagarpreet-chadha