File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -508,11 +508,7 @@ 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
- @# 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)
511
+ $(MAKE) --no-print-directory $(GO_LICENSE_FILE)
516
512
517
513
vendor : go.mod go.sum
518
514
$(GO ) mod vendor
@@ -531,7 +527,7 @@ tidy-check: tidy
531
527
go-licenses : $(GO_LICENSE_FILE )
532
528
533
529
$(GO_LICENSE_FILE ) : go.mod go.sum
534
- -$(GO ) run $(GO_LICENSES_PACKAGE ) save . --force --save_path=$(GO_LICENSE_TMP_DIR )
530
+ -$(GO ) run $(GO_LICENSES_PACKAGE ) save . --force --save_path=$(GO_LICENSE_TMP_DIR ) 2> /dev/null
535
531
$(GO ) run build/generate-go-licenses.go $(GO_LICENSE_TMP_DIR ) $(GO_LICENSE_FILE )
536
532
@rm -rf $(GO_LICENSE_TMP_DIR )
537
533
Original file line number Diff line number Diff line change 1
1
module code.gitea.io/gitea
2
2
3
- go 1.23
3
+ go 1.23.6
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