mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
Include signature in release bundle (ref #97)
This commit is contained in:
parent
a84ea70387
commit
a4e56caf78
@ -25,6 +25,13 @@ making sure large swarms of selfish agents behave and somehow work
|
||||
towards a common goal. Here we have a much smaller swarm of cooperative
|
||||
agents and a simpler approach will suffice.
|
||||
|
||||
Signed Releases
|
||||
---------------
|
||||
|
||||
As of v0.7.0 and onwards, git tags and release binaries are GPG signed with
|
||||
the key BCE524C7 (http://nym.se/gpg.txt). The signature is included in the
|
||||
normal release bundle as `syncthing.asc` or `syncthing.exe.asc`.
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
|
10
build.sh
10
build.sh
@ -20,20 +20,22 @@ test() {
|
||||
|
||||
tarDist() {
|
||||
name="$1"
|
||||
rm -rf "$name"
|
||||
mkdir -p "$name"
|
||||
cp syncthing "${distFiles[@]}" "$name"
|
||||
gpg -ab "$name/syncthing"
|
||||
tar zcvf "$name.tar.gz" "$name"
|
||||
rm -rf "$name"
|
||||
gpg -ab "$name.tar.gz"
|
||||
}
|
||||
|
||||
zipDist() {
|
||||
name="$1"
|
||||
rm -rf "$name"
|
||||
mkdir -p "$name"
|
||||
cp syncthing.exe "${distFiles[@]}" "$name"
|
||||
gpg -ab "$name/syncthing.exe"
|
||||
zip -r "$name.zip" "$name"
|
||||
rm -rf "$name"
|
||||
gpg -ab "$name.zip"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
@ -42,7 +44,7 @@ case "$1" in
|
||||
;;
|
||||
|
||||
tar)
|
||||
rm -f *.tar.gz *.zip *.asc
|
||||
rm -f *.tar.gz *.zip
|
||||
prepare
|
||||
test || exit 1
|
||||
build
|
||||
@ -54,7 +56,7 @@ case "$1" in
|
||||
;;
|
||||
|
||||
all)
|
||||
rm -f *.tar.gz *.zip *.asc
|
||||
rm -f *.tar.gz *.zip
|
||||
prepare
|
||||
test || exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user