From ea73e736c844facaa2530c399932db7560599faf Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 7 Jan 2014 13:06:34 -0800 Subject: Official release stuff... of only academic interest to open source third party users. --- attic/make-official-release.sh | 28 ++++++++++++++++++++++++++++ attic/update-dummy/README.txt | 3 +++ 2 files changed, 31 insertions(+) create mode 100755 attic/make-official-release.sh create mode 100644 attic/update-dummy/README.txt (limited to 'attic') diff --git a/attic/make-official-release.sh b/attic/make-official-release.sh new file mode 100755 index 00000000..4355c573 --- /dev/null +++ b/attic/make-official-release.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# +# This script signs an installer, creates its .NFO file, and +# copies it to a destination directory. This in turn can be +# uploaded to the official ZeroTier Networks update site for +# auto-updating binary distribution users. +# +# It's in attic/ because end-users won't find it particularly +# useful. You must have the ZeroTier One official signing +# identity secret keys to sign binary releases for auto-update, +# and of course you'd also have to upload it to our servers. +# + +# Build the app and the installer, then run this from the root +# of the source tree. It'll need the zerotier-idtool symlink +# that will be placed there after a build, too. + +export PATH=/bin:/usr/bin:/sbin:/usr/sbin + +if [ "$#" -ne 2 ]; then + echo "Usage: $0 " + exit 1 +fi + +secret="$1" +dest="$2" + diff --git a/attic/update-dummy/README.txt b/attic/update-dummy/README.txt new file mode 100644 index 00000000..a85f4200 --- /dev/null +++ b/attic/update-dummy/README.txt @@ -0,0 +1,3 @@ +This is a do-nothing placebo software update for internal testing. It's a +shell script that just prints a simple message and an .NFO file that signs +it as official. -- cgit v1.2.3