From 4099d7f9464d5d9f86fd9ece1546c8eb38636728 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 28 Aug 2014 14:43:37 +0300
Subject: [PATCH] Improved clean and publish in Fabric.

---
 fabfile.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fabfile.py b/fabfile.py
index ea4fbc9..544b968 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -6,6 +6,8 @@ def publish ():
     build ()
     for dist in ['wheezy', 'jessie', 'sid']:
          local ('''reprepro includedeb ''' + dist + ''' ../python3-vlc_*.deb''')
+    local ('''fab -f $REPREPRO_BASE_DIR/fabfile.py publish''')
+    clean ()
 
 @task
 def build ():
@@ -18,4 +20,4 @@ def clean ():
         local ('''rm ../python3-vlc_*''')
         local ('''rm -r debian/python3-vlc.substvars debian/python3-vlc.prerm.debhelper\
         debian/python3-vlc.postinst.debhelper debian/python3-vlc.debhelper.log\
-        debian/python3-vlc''')
+        debian/python3-vlc debian/files''')
-- 
GitLab