Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.4.0 #77

Merged
merged 1 commit into from
Aug 7, 2024
Merged

chore: release v0.4.0 #77

merged 1 commit into from
Aug 7, 2024

Conversation

lidel
Copy link
Member

@lidel lidel commented Aug 7, 2024

  • bump boxo and go-libp2p
  • fix agent version
  • changelog
  • version bump
  • ci is green

@lidel lidel changed the title chore: v0.4.0 chore: release v0.4.0 Aug 7, 2024
Copy link

github-actions bot commented Aug 7, 2024

Suggested version: 0.4.0

Comparing to: v0.3.0 (diff)

Changes in configuration file(s):

(empty)

gorelease says:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5e698f]

goroutine 24 [running]:
go/types.(*Checker).handleBailout(0xc0006cac00, 0xc000ec9c10)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/check.go:367 +0x88
panic({0x6a6220?, 0x8e1520?})
	/opt/hostedtoolcache/go/1.22.5/x64/src/runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0x758050, 0x8e4a40})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/sizes.go:228 +0x30f
go/types.(*Config).sizeof(...)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/sizes.go:333
go/types.representableConst.func1({0x758050?, 0x8e4a40?})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/const.go:76 +0x9e
go/types.representableConst({0x759e58, 0x8d9c78}, 0xc0006cac00, 0x8e4a40, 0xc000ec7d20)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/const.go:106 +0x2c7
go/types.(*Checker).representation(0xc0006cac00, 0xc000eb89c0, 0x8e4a40)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/const.go:256 +0x65
go/types.(*Checker).representable(0xc0006cac00, 0xc000eb89c0, 0x8e4a40)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/const.go:239 +0x26
go/types.(*Checker).shift(0xc0006cac00, 0xc000eb8940, 0xc000eb89c0, {0x759408, 0xc0007dc540}, 0x14)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:650 +0x1eb
go/types.(*Checker).binary(0xc0006cac00, 0xc000eb8940, {0x759408, 0xc0007dc540}, {0x759918, 0xc0002b89c0}, {0x759918, 0xc0002b89e0}, 0x14, 0x34c74)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:796 +0x150
go/types.(*Checker).exprInternal(0xc0006cac00, 0x0, 0xc000eb8940, {0x759408, 0xc0007dc540}, {0x0, 0x0})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:1416 +0x206
go/types.(*Checker).rawExpr(0xc0006cac00, 0x0, 0xc000eb8940, {0x759408?, 0xc0007dc540?}, {0x0?, 0x0?}, 0x0)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:979 +0x19e
go/types.(*Checker).expr(0xc0006cac00, 0x0?, 0xc000eb8940, {0x759408?, 0xc0007dc540?})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:1513 +0x30
go/types.(*Checker).binary(0xc0006cac00, 0xc000eb8940, {0x759408, 0xc0007dc570}, {0x759408, 0xc0007dc540}, {0x759918, 0xc0002b8a00}, 0xd, 0x34c78)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:783 +0xa5
go/types.(*Checker).exprInternal(0xc0006cac00, 0x0, 0xc000eb8940, {0x759408, 0xc0007dc570}, {0x0, 0x0})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:1416 +0x206
go/types.(*Checker).rawExpr(0xc0006cac00, 0x0, 0xc000eb8940, {0x759408?, 0xc0007dc570?}, {0x0?, 0x0?}, 0x0)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:979 +0x19e
go/types.(*Checker).expr(0xc0006cac00, 0xc000eaade0?, 0xc000eb8940, {0x759408?, 0xc0007dc570?})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/expr.go:1513 +0x30
go/types.(*Checker).constDecl(0xc0006cac00, 0xc000eaaea0, {0x0, 0x0}, {0x759408, 0xc0007dc570}, 0x0)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/decl.go:488 +0x2f1
go/types.(*Checker).objDecl(0xc0006cac00, {0x75c238, 0xc000eaaea0}, 0x0)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/decl.go:191 +0xa49
go/types.(*Checker).packageObjects(0xc0006cac00)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/resolver.go:693 +0x4dd
go/types.(*Checker).checkFiles(0xc0006cac00, {0xc0008a6000, 0x1, 0x1})
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/check.go:408 +0x1a5
go/types.(*Checker).Files(...)
	/opt/hostedtoolcache/go/1.22.5/x64/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0xc0002b60e0, 0xc00071d020)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:1037 +0x932
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:847 +0x1a9
sync.(*Once).doSlow(0x0?, 0x0?)
	/opt/hostedtoolcache/go/1.22.5/x64/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/opt/hostedtoolcache/go/1.22.5/x64/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:835 +0x4a
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:842 +0x26
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 53
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/go/packages/packages.go:841 +0x94

gocompat says:

HEAD is now at effefee chore: release v0.3.0 (#76)
Previous HEAD position was effefee chore: release v0.3.0 (#76)
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

Cutting a Release (and modifying non-markdown files)

This PR is modifying both version.json and non-markdown files.
The Release Checker is not able to analyse files that are not checked in to main. This might cause the above analysis to be inaccurate.
Please consider performing all the code changes in a separate PR before cutting the release.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

@lidel lidel marked this pull request as ready for review August 7, 2024 21:49
Copy link
Member Author

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All green – merging & shipping.

FYSA the panic in gorelease check above can be ignored, tracked in ipdxco/unified-github-workflows#84.

Running go install golang.org/x/exp/cmd/gorelease@latest locally and then gorelease -base=v0.3.0 -version=v0.4.0 in the PR passed fine:

# summary
v0.4.0 is a valid semantic version for this release.

@lidel lidel merged commit 293c322 into main Aug 7, 2024
13 checks passed
@lidel lidel deleted the chore/boxo-v0220 branch August 7, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant