From 4a04fc41d78abce39386337ae7f6a75ff80111fa Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 22 Oct 2024 18:29:05 +0800 Subject: [PATCH] update --- gitea/package.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitea/package.sh b/gitea/package.sh index ee93863..dbb7a97 100755 --- a/gitea/package.sh +++ b/gitea/package.sh @@ -2,7 +2,7 @@ app_name="gitea" tmp_dir="/tmp/${app_name}_tmp" -version="1.22" +version="1.22.3" release="v${version}" deb_arch="amd64" @@ -51,9 +51,9 @@ mv ${tmp_dir}/gitea ./unpack/usr/bin/ chmod +x ./unpack/usr/bin/gitea echo "下载service文件和协议文件" -wget "https://raw.githubusercontent.com/go-gitea/gitea/release/${release}/contrib/systemd/gitea.service" -O ./unpack/usr/lib/systemd/system/gitea.service +wget "https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/${release}/contrib/systemd/gitea.service" -O ./unpack/usr/lib/systemd/system/gitea.service wget https://raw.githubusercontent.com/go-gitea/gitea/main/LICENSE -O ./unpack/usr/share/licenses/gitea/LICENSE -wget h"ttps://raw.githubusercontent.com/go-gitea/gitea/release/${release}/custom/conf/app.example.ini" -O ./unpack/etc/gitea/app.example.ini +wget "https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/${release}/custom/conf/app.example.ini" -O ./unpack/etc/gitea/app.example.ini rm -rf $tmp_dir