[SCM] ci-tooling packaging branch, master, updated. 13ff94c982069647343bd68465fd74a560124ee5

Rohan Garg rohangarg-guest at moszumanska.debian.org
Wed Jul 8 19:08:54 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=13ff94c

The following commit has been merged in the master branch:
commit 13ff94c982069647343bd68465fd74a560124ee5
Author: Rohan Garg <rohan at garg.io>
Date:   Wed Jul 8 21:08:31 2015 +0200

    Add a cleanup stage to remove the source folder so that it doesn't get archived
---
 lib/ci/build_source.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/ci/build_source.rb b/lib/ci/build_source.rb
index 6709b9e..07e1d9b 100644
--- a/lib/ci/build_source.rb
+++ b/lib/ci/build_source.rb
@@ -115,12 +115,17 @@ class VcsSourceBuilder
     end
   end
 
+  def cleanup
+    FileUtils.rm_rf("#{BUILD_DIR}/source")
+  end
+
   def run
     copy_source
     create_orig_tar
     copy_packaging
     log_change
     build
+    cleanup
     @source
   end
 end

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list