Update snapcraft

This commit is contained in:
Joseph Henry 2022-06-14 15:20:42 -07:00
parent 0ed339f19d
commit 7d4e4ac646
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344
2 changed files with 13 additions and 7 deletions

View File

@ -498,17 +498,21 @@ snap-uninstall: FORCE
snap remove zerotier snap remove zerotier
snap-build-remote: FORCE snap-build-remote: FORCE
snapcraft remote-build --build-on=amd64,arm64,s390x,ppc64el,armhf,i386 cd pkg && snapcraft remote-build --build-on=amd64,arm64,s390x,ppc64el,armhf,i386
snap-upload-beta: FORCE snap-upload-beta: FORCE
pushd pkg
for SNAPFILE in ./*.snap; do\ for SNAPFILE in ./*.snap; do\
snapcraft upload --release=beta,edge,candidate $${SNAPFILE};\ snapcraft upload --release=beta,edge,candidate $${SNAPFILE};\
done done
popd
snap-upload-stable: FORCE snap-upload-stable: FORCE
pushd pkg
for SNAPFILE in ./*.snap; do\ for SNAPFILE in ./*.snap; do\
snapcraft upload --release=stable $${SNAPFILE};\ snapcraft upload --release=stable $${SNAPFILE};\
done done
popd
synology-pkg: FORCE synology-pkg: FORCE
cd pkg/synology ; ./build.sh build cd pkg/synology ; ./build.sh build

View File

@ -64,12 +64,14 @@ layout:
parts: parts:
one: one:
source: ./ plugin: make
plugin: dump source: https://github.com/zerotier/zerotierone.git
organize: source-branch: "master"
zerotier-one : usr/sbin/zerotier-one build-packages:
zerotier-cli : usr/sbin/zerotier-cli - build-essential
zerotier-idtool : usr/sbin/zerotier-idtool - libc++-dev
make-parameters:
- ZT_SSO_SUPPORTED=0
filesets: filesets:
binaries: binaries:
- usr/sbin/zerotier-one - usr/sbin/zerotier-one