File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -508,8 +508,11 @@ unit-test-coverage:
508
508
tidy :
509
509
$(eval MIN_GO_VERSION := $(shell grep -Eo '^go\s+[0-9]+\.[0-9.]+' go.mod | cut -d' ' -f2) )
510
510
$(GO ) mod tidy -compat=$(MIN_GO_VERSION )
511
- # disabled because of issues related to https://github.com/google/go-licenses/issues/128
512
- # @$(MAKE) --no-print-directory $(GO_LICENSE_FILE)
511
+ @# revert "go/toolchain" version, they are updated incorrectly by the "tidy" tool
512
+ $(SED_INPLACE ) -E -e ' s/^(go [0-9]\.[0-9]+).*/\1/g' go.mod go.mod
513
+ awk ' BEGIN {skip=0} /^toolchain/ {skip=1; next} skip==1 && /^$$/ {skip=0; next} {skip=0} 1' go.mod > go.mod.new
514
+ rm go.mod && mv go.mod.new go.mod
515
+ # $(MAKE) --no-print-directory $(GO_LICENSE_FILE)
513
516
514
517
vendor : go.mod go.sum
515
518
$(GO ) mod vendor
Original file line number Diff line number Diff line change 1
1
module code.gitea.io/gitea
2
2
3
- go 1.23.6
3
+ go 1.23
4
4
5
5
// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
6
6
// But some CAs use negative serial number, just relax the check. related:
You can’t perform that action at this time.
0 commit comments