diff options
author | techknowlogick <techknowlogick@gitea.io> | 2022-01-31 17:52:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 17:52:12 -0500 |
commit | 70e614b9da0916fa617d683c42a9394df552359a (patch) | |
tree | 7c71f35a54a8fd00fc4e97251c0bc2dee158fdf6 /snap | |
parent | 115e4772cce467e991e187347e64f70439e5784d (diff) | |
download | gitea-70e614b9da0916fa617d683c42a9394df552359a.tar.gz gitea-70e614b9da0916fa617d683c42a9394df552359a.zip |
build with node16 in snap (#18508)
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index cd989dfbbf..9100b1e87c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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: | @@ -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}/" |