File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " Gitea DevContainer" ,
33 "image" : " mcr.microsoft.com/devcontainers/go:1.24-bookworm" ,
4+ "containerEnv" : {
5+ // override "local" from packaged version
6+ "GOTOOLCHAIN" : " auto"
7+ },
48 "features" : {
59 // installs nodejs into container
610 "ghcr.io/devcontainers/features/node:1" : {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ XGO_VERSION := go-1.25.x
2828AIR_PACKAGE ?= github.com/air-verse/air@v1
2929EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@v3
3030GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.8.0
31- GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6
31+ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.4.0
3232GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.12
3333MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.7.0
3434SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.32.3
Original file line number Diff line number Diff line change 8585# confirm update
8686echo " Checking currently installed version..."
8787current=$( giteacmd --version | cut -d ' ' -f 3)
88- [[ " $current " == " $giteaversion " ]] && echo " $current is already installed, stopping." && exit 1
88+ [[ " $current " == " $giteaversion " ]] && echo " $current is already installed, stopping." && exit 0
8989if [[ -z " ${no_confirm:- } " ]]; then
9090 echo " Make sure to read the changelog first: https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md"
9191 echo " Are you ready to update Gitea from ${current} to ${giteaversion} ? (y/N)"
You can’t perform that action at this time.
0 commit comments