changeset 383:583727d0650a

Package
author Chris Cannam
date Fri, 05 Jun 2020 16:55:47 +0100
parents 78af557445b2
children c9b2dca061a6
files deploy/clean-build-and-package
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/clean-build-and-package	Fri Jun 05 16:53:23 2020 +0100
+++ b/deploy/clean-build-and-package	Fri Jun 05 16:55:47 2020 +0100
@@ -34,6 +34,15 @@
     deploy/osx/sign.sh sonic-annotator
     deploy/osx/notarize.sh sonic-annotator
 
+    dir="sonic-annotator-$version-macos"
+    mkdir -p "$dir"
+    cp sonic-annotator "$dir/"
+    cp README.md CHANGELOG COPYING CITATION "$dir/"
+    tar cvzf "$dir.tar.gz" "$dir"
+    rm -rf "$dir"
+
+    mv "$dir.tar.gz" packages/
+
 else
 
     echo -n "Proceed to rebuild and package version $version [Yn] ? "