From 59f552d2260ed3cf721df86092f5daae9a8d6b1e Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 7 May 2026 22:22:29 -0700 Subject: [PATCH 1/2] Fix snap release --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f78fc3e5f1..9cad252e67 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -75,7 +75,7 @@ parts: set -x sed -i 's/os.Getuid()/1/g' modules/setting/setting.go npm install -g pnpm - TAGS="bindata pam cert" make build + TAGS="bindata sqlite sqlite_unlock_notify pam cert" make build install -D gitea "${SNAPCRAFT_PART_INSTALL}/gitea" cp -r options "${SNAPCRAFT_PART_INSTALL}/" From e852c8bf8166bccc6bff0300db4aaa6550baada1 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 7 May 2026 22:23:18 -0700 Subject: [PATCH 2/2] fix --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9cad252e67..f722e68486 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -75,6 +75,7 @@ parts: set -x sed -i 's/os.Getuid()/1/g' modules/setting/setting.go npm install -g pnpm + # The release will always read main branch's file TAGS="bindata sqlite sqlite_unlock_notify pam cert" make build install -D gitea "${SNAPCRAFT_PART_INSTALL}/gitea" cp -r options "${SNAPCRAFT_PART_INSTALL}/"