Skip to content

Commit

Permalink
build with node16 in snap (#18508)
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick authored Jan 31, 2022
1 parent 115e477 commit 70e614b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ parts:
source: .
stage-packages: [ git, sqlite3, openssh-client ]
build-packages: [ git, libpam0g-dev, libsqlite3-dev]
build-snaps: [ go, node/14/stable ]
build-snaps: [ go, node/16/stable ]
build-environment:
- LDFLAGS: ""
override-pull: |
Expand All @@ -67,6 +67,7 @@ parts:
override-build: |
set -x
sed -i 's/os.Getuid()/1/g' modules/setting/setting.go
TAGS="bindata sqlite sqlite_unlock_notify pam cert" make build
install -D gitea "${SNAPCRAFT_PART_INSTALL}/gitea"
cp -r options "${SNAPCRAFT_PART_INSTALL}/"
Expand Down

0 comments on commit 70e614b

Please sign in to comment.