mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 18:48:36 -07:00
Mac install fixes, more internal use scripts.
This commit is contained in:
parent
60731e6d02
commit
3482d836ae
11 changed files with 38 additions and 43 deletions
|
@ -18,8 +18,8 @@
|
|||
|
||||
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 <path to secret signing identity> <path to destination folder for .nfo and installer>"
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: $0 <path to secret signing identity>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -29,16 +29,11 @@ if [ ! -e zerotier-idtool ]; then
|
|||
fi
|
||||
|
||||
secret="$1"
|
||||
dest="$2"
|
||||
|
||||
if [ ! -e "$secret" ]; then
|
||||
echo "Can't find $secret"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d "$dest" ]; then
|
||||
echo "Can't find $dest directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for inst in `ls ZeroTierOneInstaller-*-*-*_*_*`; do
|
||||
echo "Found installer: $inst"
|
||||
|
@ -51,6 +46,4 @@ for inst in `ls ZeroTierOneInstaller-*-*-*_*_*`; do
|
|||
echo "signedBy=`cat $secret | cut -d : -f 1`" >>"$nfo"
|
||||
echo "ed25519=`./zerotier-idtool sign $secret $inst`" >>"$nfo"
|
||||
echo "url=http://download.zerotier.com/$inst" >>"$nfo"
|
||||
cp $inst $nfo $dest
|
||||
rm -f $nfo
|
||||
done
|
||||
|
|
5
attic/submit-official-release.sh
Executable file
5
attic/submit-official-release.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Completely useless to outsiders. :)
|
||||
|
||||
scp ZeroTierOneInstaller-*-*-*_*_* nyarlathotep.zerotier.com:/www/download.zerotier.com/htdocs
|
Loading…
Add table
Add a link
Reference in a new issue