mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-12-04 21:48:16 +08:00
Backport #35778 by techknowlogick Co-authored-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:
@@ -68,6 +68,7 @@ parts:
|
||||
override-build: |
|
||||
set -x
|
||||
sed -i 's/os.Getuid()/1/g' modules/setting/setting.go
|
||||
npm install -g pnpm
|
||||
TAGS="bindata sqlite sqlite_unlock_notify pam cert" make build
|
||||
install -D gitea "${SNAPCRAFT_PART_INSTALL}/gitea"
|
||||
cp -r options "${SNAPCRAFT_PART_INSTALL}/"
|
||||
|
||||
Reference in New Issue
Block a user