0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-28 16:06:00 +01:00

add pnpm to Snapcraft (#35778) (#35779)

Backport #35778 by techknowlogick

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:
Giteabot 2025-10-30 02:35:18 +08:00 committed by GitHub
parent f85cd7aeb5
commit 65a37572f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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