Fix formatting and add Go version setup in script

This commit is contained in:
Tobias
2026-09-12 10:58:52 +02:00
committed by GitHub
parent 403842dac2
commit df41b4afd9

View File

@@ -39,6 +39,8 @@ function update_script() {
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gotenberg" "gotenberg/gotenberg" "tarball" "latest" "/opt/gotenberg"
GO_VERSION="$(awk '$1=="go"{print $2}' /opt/gotenberg/go.mod | cut -d. -f1,2)" setup_go
msg_info "Building gotenberg (Patience)"
cd /opt/gotenberg
export CGO_ENABLED=0