Mercurial > hg > sonic-annotator
annotate deploy/src/archive.sh @ 366:9f7297c47850
Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it
does look as if we had the potential for use-after-free in cases where a plugin
was both used "bare" and wrapped in an auto-deleting adapter; those should be
fixed now
author | Chris Cannam |
---|---|
date | Thu, 23 Apr 2020 15:51:55 +0100 |
parents | 595df44835d6 |
children | a82030ec7b1f |
rev | line source |
---|---|
Chris@173 | 1 #!/bin/bash |
Chris@173 | 2 |
Chris@173 | 3 tag=`hg tags | grep '^sonic-annotator-' | head -1 | awk '{ print $1; }'` |
Chris@173 | 4 |
Chris@173 | 5 v=`echo "$tag" |sed 's/sonic-annotator-//'` |
Chris@173 | 6 |
Chris@173 | 7 echo "Packaging up version $v from tag $tag..." |
Chris@173 | 8 |
Chris@173 | 9 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-annotator-"$v".tar.gz |
Chris@173 | 10 |