File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
module github.com/minio/minio-go/v7
2
2
3
- go 1.22
3
+ go 1.22.0
4
4
5
5
require (
6
6
github.com/dustin/go-humanize v1.0.1
Original file line number Diff line number Diff line change @@ -57,14 +57,15 @@ log "Updating minio-go source to tag: $MINIO_GO_TAG"
57
57
update_repo_to " $MINIO_GO_REPOSITORY " " $MINIO_GO_TAG " minio-go
58
58
59
59
60
-
61
60
# ###########################################################
62
61
# # Patch minio-go
63
62
# ###########################################################
64
63
65
64
cd minio-go
66
65
# Remove sha256-simd library
67
66
find . -name ' *.go' -exec sed -ri ' s|github.com/minio/sha256-simd|crypto/sha256|' {} \;
67
+ # Downstream builder needs to pre-fetch files with cachi2 and cannot handle go 1.22 (needs go 1.22.0 for the toolchain)
68
+ sed -i ' s|go 1.22$|go 1.22.0|' go.mod
68
69
# Clean up modules and verify
69
70
go mod tidy
70
71
if grep sha256-simd go.sum; then
You can’t perform that action at this time.
0 commit comments