comparison 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
comparison
equal deleted inserted replaced
383:583727d0650a 384:c9b2dca061a6
52 52
53 ./deploy/linux/build-and-test-appimage.sh 53 ./deploy/linux/build-and-test-appimage.sh
54 54
55 squashedversion=$(echo "$version" | sed 's/_-//g') 55 squashedversion=$(echo "$version" | sed 's/_-//g')
56 56
57 dir="sonic-annotator-$version-linux64" 57 dir="sonic-annotator-$version-linux64-static"
58 58
59 ( 59 (
60 cd deploy/linux/docker/output 60 cd deploy/linux/docker/output
61 mkdir -p "$dir/static" 61 mkdir -p "$dir"
62 cp sonic-annotator "$dir/sonic-annotator" 62 cp SonicAnnotator-"$current"-x86_64.AppImage "$dir/sonic-annotator"
63 cp SonicAnnotator-"$current"-x86_64.AppImage "$dir/static/sonic-annotator"
64 chmod +x "$dir/sonic-annotator" 63 chmod +x "$dir/sonic-annotator"
65 chmod +x "$dir/static/sonic-annotator"
66 cp ../../../../README.md "$dir" 64 cp ../../../../README.md "$dir"
67 cp ../../../../CHANGELOG "$dir" 65 cp ../../../../CHANGELOG "$dir"
68 cp ../../../../COPYING "$dir" 66 cp ../../../../COPYING "$dir"
69 cp ../../../../CITATION "$dir" 67 cp ../../../../CITATION "$dir"
70 tar cvzf "$dir.tar.gz" "$dir" 68 tar cvzf "$dir.tar.gz" "$dir"