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-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
pushd pkg
for SNAPFILE in ./*.snap; do\
snapcraft upload --release=beta,edge,candidate $${SNAPFILE};\
done
popd
snap-upload-stable: FORCE
pushd pkg
for SNAPFILE in ./*.snap; do\
snapcraft upload --release=stable $${SNAPFILE};\
done
popd
synology-pkg: FORCE
cd pkg/synology ; ./build.sh build

View File

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