From 5f67f8cb549a9eabab85a5be6f198275cfc7f272 Mon Sep 17 00:00:00 2001 From: Steve Loeppky Date: Wed, 6 Jul 2022 09:10:32 -0700 Subject: [PATCH 1/4] Update PATCH_RELEASE_TEMPLATE.md based on 0.13.1 These updates are based on items from https://github.com/ipfs/go-ipfs/pull/9092 --- docs/PATCH_RELEASE_TEMPLATE.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/PATCH_RELEASE_TEMPLATE.md b/docs/PATCH_RELEASE_TEMPLATE.md index 1cce02a4f27..6a81e160a66 100644 --- a/docs/PATCH_RELEASE_TEMPLATE.md +++ b/docs/PATCH_RELEASE_TEMPLATE.md @@ -1,8 +1,6 @@ # Patch Release Checklist This process handles patch releases from version `vX.Y.Z` to `vX.Y.Z+1` assuming that `vX.Y.Z` is the latest released version of go-ipfs. - -- [ ] Get temporary permissions to force-push to `release-*` branches - [ ] Fork a new branch (`release-vX.Y.Z`) from `release` and cherry-pick the relevant commits from master (or custom fixes) onto this branch - [ ] Use `git cherry-pick -x` so that the commit message says `(cherry picked from commit ...)` - [ ] Make a minimal changelog update tracking the relevant fixes to CHANGELOG, as its own commit e.g. `docs: update changelog vX.Y.Z+1` @@ -14,11 +12,13 @@ This process handles patch releases from version `vX.Y.Z` to `vX.Y.Z+1` assuming 1. Build: https://github.com/ipfs/distributions#usage. 2. Pin the resulting release. 3. Make a PR against ipfs/distributions with the updated versions, including the new hash in the PR comment. - 4. Ask the infra team to update the DNSLink record for dist.ipfs.io to point to the new distribution. + - Note the DNSLink record for dist.ipfs.io points to the new distribution as part of [CI after merging into master](https://github.com/ipfs/distributions/blob/master/.github/workflows/main.yml#L154). - [ ] cut a release on [github](https://github.com/ipfs/go-ipfs/releases) and upload the result of the ipfs/distributions build in the previous step. -- Announce the Release: - - [ ] On IRC/Matrix (both #ipfs and #ipfs-dev) +- [ ] Announce the Release: - [ ] On discuss.ipfs.io + - This will automatically post to IPFS Discord #ipfs-chatter + - Examples from the past: [0.13.1](https://discuss.ipfs.io/t/go-ipfs-v0-13-1-has-been-released/14599) + - [ ] Pin the topic - [ ] Release published - [ ] to [dist.ipfs.io](https://dist.ipfs.io) - [ ] to [npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs) From 80cc506c7996a38b34ac1510467ebe1347dda860 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 6 Jul 2022 18:16:46 +0200 Subject: [PATCH 2/4] docs: add note about automations: npm, choco, snap --- docs/PATCH_RELEASE_TEMPLATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/PATCH_RELEASE_TEMPLATE.md b/docs/PATCH_RELEASE_TEMPLATE.md index 6a81e160a66..23d2cac1f7f 100644 --- a/docs/PATCH_RELEASE_TEMPLATE.md +++ b/docs/PATCH_RELEASE_TEMPLATE.md @@ -21,9 +21,9 @@ This process handles patch releases from version `vX.Y.Z` to `vX.Y.Z+1` assuming - [ ] Pin the topic - [ ] Release published - [ ] to [dist.ipfs.io](https://dist.ipfs.io) - - [ ] to [npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs) - - [ ] to [chocolatey](https://chocolatey.org/packages/ipfs) - - [ ] to [snap](https://snapcraft.io/ipfs) + - [ ] to [npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs) (should be done by [ipfs/npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs), but ok to dispatch job manually) + - [ ] to [chocolatey](https://chocolatey.org/packages/go-ipfs) (should be done by [ipfs/choco-go-ipfs](https://github.com/ipfs/choco-go-ipfs/), but ok to dispatch job manually) + - [ ] to [snap](https://snapcraft.io/ipfs) (should happen automatically, see [snap/snapcraft.yaml](https://github.com/ipfs/go-ipfs/blob/master/snap/snapcraft.yaml)) - [ ] to [github](https://github.com/ipfs/go-ipfs/releases) - [ ] to [arch](https://www.archlinux.org/packages/community/x86_64/go-ipfs/) (flag it out of date) - [ ] Cut a new ipfs-desktop release From 74c34e2d4829aca505256afea745e16ac986e61c Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 6 Jul 2022 18:17:32 +0200 Subject: [PATCH 3/4] fix: npm link --- docs/PATCH_RELEASE_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PATCH_RELEASE_TEMPLATE.md b/docs/PATCH_RELEASE_TEMPLATE.md index 23d2cac1f7f..93149a98590 100644 --- a/docs/PATCH_RELEASE_TEMPLATE.md +++ b/docs/PATCH_RELEASE_TEMPLATE.md @@ -21,7 +21,7 @@ This process handles patch releases from version `vX.Y.Z` to `vX.Y.Z+1` assuming - [ ] Pin the topic - [ ] Release published - [ ] to [dist.ipfs.io](https://dist.ipfs.io) - - [ ] to [npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs) (should be done by [ipfs/npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs), but ok to dispatch job manually) + - [ ] to [npm](https://www.npmjs.com/package/go-ipfs) (should be done by [ipfs/npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs), but ok to dispatch job manually) - [ ] to [chocolatey](https://chocolatey.org/packages/go-ipfs) (should be done by [ipfs/choco-go-ipfs](https://github.com/ipfs/choco-go-ipfs/), but ok to dispatch job manually) - [ ] to [snap](https://snapcraft.io/ipfs) (should happen automatically, see [snap/snapcraft.yaml](https://github.com/ipfs/go-ipfs/blob/master/snap/snapcraft.yaml)) - [ ] to [github](https://github.com/ipfs/go-ipfs/releases) From 2f0ea0f7ff164d5c23f8856aeeb9cad2916e87fd Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 6 Jul 2022 18:20:08 +0200 Subject: [PATCH 4/4] chore: add links to npm/choco jobs --- docs/PATCH_RELEASE_TEMPLATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/PATCH_RELEASE_TEMPLATE.md b/docs/PATCH_RELEASE_TEMPLATE.md index 93149a98590..f9b9a9578fe 100644 --- a/docs/PATCH_RELEASE_TEMPLATE.md +++ b/docs/PATCH_RELEASE_TEMPLATE.md @@ -21,8 +21,8 @@ This process handles patch releases from version `vX.Y.Z` to `vX.Y.Z+1` assuming - [ ] Pin the topic - [ ] Release published - [ ] to [dist.ipfs.io](https://dist.ipfs.io) - - [ ] to [npm](https://www.npmjs.com/package/go-ipfs) (should be done by [ipfs/npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs), but ok to dispatch job manually) - - [ ] to [chocolatey](https://chocolatey.org/packages/go-ipfs) (should be done by [ipfs/choco-go-ipfs](https://github.com/ipfs/choco-go-ipfs/), but ok to dispatch job manually) + - [ ] to [npm](https://www.npmjs.com/package/go-ipfs) (should be done by [ipfs/npm-go-ipfs](https://github.com/ipfs/npm-go-ipfs), but ok to dispatch [this job](https://github.com/ipfs/npm-go-ipfs/actions/workflows/main.yml) manually) + - [ ] to [chocolatey](https://chocolatey.org/packages/go-ipfs) (should be done by [ipfs/choco-go-ipfs](https://github.com/ipfs/choco-go-ipfs/), but ok to dispatch [this job](https://github.com/ipfs/choco-go-ipfs/actions/workflows/main.yml) manually) - [ ] to [snap](https://snapcraft.io/ipfs) (should happen automatically, see [snap/snapcraft.yaml](https://github.com/ipfs/go-ipfs/blob/master/snap/snapcraft.yaml)) - [ ] to [github](https://github.com/ipfs/go-ipfs/releases) - [ ] to [arch](https://www.archlinux.org/packages/community/x86_64/go-ipfs/) (flag it out of date)