Update tinyauth update procedure
This commit is contained in:
parent
8c0f373cf9
commit
ccdad0e478
@ -50,6 +50,7 @@ function update_script() {
|
|||||||
$STD go mod download
|
$STD go mod download
|
||||||
CGO_ENABLED=0 go build -ldflags "-s -w"
|
CGO_ENABLED=0 go build -ldflags "-s -w"
|
||||||
cp /opt/.env /opt/tinyauth
|
cp /opt/.env /opt/tinyauth
|
||||||
|
echo "${RELEASE}" >/opt/tinyauth_version.txt
|
||||||
rm -f "$temp_file"
|
rm -f "$temp_file"
|
||||||
msg_ok "Updated tinyauth"
|
msg_ok "Updated tinyauth"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user