You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We expect to be working on the items listed in IPFS Shipyard Team (view). We don't expect all of these to land and intend to start the release on the dates above.
kubo checked out under $(go env GOPATH)/src/github.com/ipfs/kubo
you can also symlink your clone to the expected location by running mkdir -p $(go env GOPATH)/src/github.com/ipfs && ln -s $(pwd) $(go env GOPATH)/src/github.com/ipfs/kubo
This section covers tasks to be done during each release.
Prepare the release branch and update version numbers accordingly using ./kuboreleaser --skip-check-before release --version vX.Y.Z(-rcN) prepare-branch or ...
create a new branch release-vX.Y.Z
use master as base if Z == 0
use release as base if Z > 0
update the CurrentVersionNumber in version.go in the master branch to vX.Y+1.0-dev
create and merge the PR which updates dists/kubo/versions and dists/go-ipfs/versions ( and dists/kubo/current_version and dists/go-ipfs/current_version)
Publish the release to NPMusing ./kuboreleaser release --version vX.Y.Z(-rcN) publish-to-npm (⚠️ you might need to run the command a couple of times because GHA might not be able to see the new distribution straight away due to caching) or ...
Merge the release branch back into master, ignoring the changes to version.go (keep the -dev) version, using ./kuboreleaser release --version vX.Y.Z(-rcN) merge-branch or ...
create a new branch merge-release-vX.Y.Z from release
create and merge a PR from merge-release-vX.Y.Z to master
Prepare for the next release using ./kuboreleaser release --version vX.Y.Z(-rcN) prepare-next or ...
Meta
tentatively 2023-07-202023-07-242023-07-312023-07-272023-08-032023-08-07Items in scope
We expect to be working on the items listed in IPFS Shipyard Team (view). We don't expect all of these to land and intend to start the release on the dates above.
Changelog of what made it in: https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.22.md
MUSTs
Below things MUST be included in 0.22:
SHOULDs
Before the Release
admin access to IPFS DiscourseI have mods, that enoughnpm installed on your system(only if you're NOT using kuboreleaser)$(go env GOPATH)/src/github.com/ipfs/kubomkdir -p $(go env GOPATH)/src/github.com/ipfs && ln -s $(pwd) $(go env GOPATH)/src/github.com/ipfs/kuboThe release
This section covers tasks to be done during each release.
using
./kuboreleaser --skip-check-before release --version vX.Y.Z(-rcN) prepare-branchor ...release-vX.Y.Zmasteras base ifZ == 0releaseas base ifZ > 0CurrentVersionNumberin version.go in themasterbranch tovX.Y+1.0-devCurrentVersionNumberin version.go in therelease-vX.Ybranch tovX.Y.Z(-RCN)release-vX.Ytoreleasemasterto therelease-vX.Y.Zusinggit cherry-pick -x <commit>ChangelogandContributorssections of the changelog with the stdout of./bin/mkreleaselogrelease-vX.Ytoreleaseare passingrelease-vX.Ytoreleaseusing theCreate a merge commitSquash and mergenorRebase and mergebecause we need to be able to sign the merge commitrelease-vX.YbranchRun Thunderdome testing, see the Thunderdome release docs for detailscreate a PR and merge the experiment config into Thunderdomeusing
./kuboreleaser release --version vX.Y.Z(-rcN) tagor ...git tag -s vX.Y.Z(-RCN) -m 'Prerelease X.Y.Z(-RCN)'releasebranch usinggit tag -s vX.Y.Z(-RCN) -m 'Release X.Y.Z(-RCN)'git show vX.Y.Z(-RCN)git push origin vX.Y.Z(-RCN)git push --tagsbecause it pushes all your local tagsusing
./kuboreleaser --skip-check-before --skip-run release --version vX.Y.Z(-rcN) publish-to-dockerhubor ...using
./kuboreleaser release --version vX.Y.Z(-rcN) publish-to-distributionsor ..../dist.sh add-version kubo vX.Y.Z(-RCN)to add the new version to theversionsfiledists/kubo/versionsanddists/go-ipfs/versions(dists/kubo/current_versionanddists/go-ipfs/current_version)using⚠️ you might need to run the command a couple of times because GHA might not be able to see the new distribution straight away due to caching) or ...
./kuboreleaser release --version vX.Y.Z(-rcN) publish-to-npm(using
./kuboreleaser release --version vX.Y.Z(-rcN) publish-to-githubor ...vX.Y.Z(-RCN)tagThis is a pre-releasecheckboxThis is a pre-releasecheckboxusing
./kuboreleaser release --version vX.Y.Z(-rcN) promoteor ...Kubo vX.Y.Z(-RCN) is out!as the titlekuboandgo-ipfsas topics##) in the descriptionipfs-companionusing
./kuboreleaser release --version vX.Y.Z(-rcN) test-ipfs-companionor ...vX.Y.Z(-RCN)as the Kubo image versionusing
./kuboreleaser release --version vX.Y.Z(-rcN) update-ipfs-desktopor ...npm installpackage.jsonandpackage-lock.jsonusing
./kuboreleaser release --version vX.Y.Z(-rcN) update-ipfs-docsor ...#shared-pl-bravefor visibilityusing
./kuboreleaser release --version vX.Y.Z(-rcN) update-ipfs-blog --date YYYY-MM-DDor ...-dev) version,using
./kuboreleaser release --version vX.Y.Z(-rcN) merge-branchor ...merge-release-vX.Y.Zfromreleasemerge-release-vX.Y.Ztomasterusing
./kuboreleaser release --version vX.Y.Z(-rcN) prepare-nextor ...go get -uin root directorygo mod tidyin root directorygo mod tidyindocs/examples/kubo-as-a-librarydirectorygo.modandgo.sum