add pnpm to Snapcraft (#35778)

pull/35783/head
techknowlogick 2025-10-29 14:34:40 +07:00 committed by GitHub
parent 8aa1179ce4
commit 98ff7d0773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

@ -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}/"