diff deploy/clean-build-and-package @ 384:c9b2dca061a6

Create package called static, rather than just having subdir
author Chris Cannam
date Fri, 05 Jun 2020 18:03:26 +0100
parents 583727d0650a
children
line wrap: on
line diff
--- a/deploy/clean-build-and-package	Fri Jun 05 16:55:47 2020 +0100
+++ b/deploy/clean-build-and-package	Fri Jun 05 18:03:26 2020 +0100
@@ -54,15 +54,13 @@
 
     squashedversion=$(echo "$version" | sed 's/_-//g')
 
-    dir="sonic-annotator-$version-linux64"
+    dir="sonic-annotator-$version-linux64-static"
 
     (
         cd deploy/linux/docker/output
-        mkdir -p "$dir/static"
-        cp sonic-annotator "$dir/sonic-annotator"
-        cp SonicAnnotator-"$current"-x86_64.AppImage "$dir/static/sonic-annotator"
+        mkdir -p "$dir"
+        cp SonicAnnotator-"$current"-x86_64.AppImage "$dir/sonic-annotator"
         chmod +x "$dir/sonic-annotator"
-        chmod +x "$dir/static/sonic-annotator"
         cp ../../../../README.md "$dir"
         cp ../../../../CHANGELOG "$dir"
         cp ../../../../COPYING "$dir"