[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 345: Make do-release script remove possibly remaining .testrepository dir.

Message ID 20110523150822.16645.53223.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Mattias Backman May 23, 2011, 3:08 p.m.
------------------------------------------------------------
revno: 345
committer: Mattias Backman <mattias.backman@linaro.org>
branch nick: linaro-image-tools
timestamp: Mon 2011-05-23 17:07:05 +0200
message:
  Make do-release script remove possibly remaining .testrepository dir.
modified:
  do-release


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription

Patch

=== modified file 'do-release'
--- do-release	2011-04-21 13:28:29 +0000
+++ do-release	2011-05-23 15:07:05 +0000
@@ -40,6 +40,9 @@ 
     die "Testsuite doesn't pass"
 fi
 
+log_i "Removing test repository data"
+rm -rf .testrepository/
+
 if bzr tags | awk '{print $1}' | grep -qFx "$version"; then
     die "Tag $version already exists"
 fi