[SCM] ci-tooling packaging branch, master, updated. 8ffc369122fc96b1b16f0b5ecdfa90819122156b

Rohan Garg rohangarg-guest at moszumanska.debian.org
Wed Dec 17 18:15:04 UTC 2014


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

The following commit has been merged in the master branch:
commit 8ffc369122fc96b1b16f0b5ecdfa90819122156b
Author: Rohan Garg <rohan at kde.org>
Date:   Wed Dec 17 19:14:59 2014 +0100

    Update with right url
---
 dci/build.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dci/build.rb b/dci/build.rb
index d19337e..0710f88 100644
--- a/dci/build.rb
+++ b/dci/build.rb
@@ -30,6 +30,7 @@ if not ARGV[1].end_with? '.changes'
 else
     package_name = `grep Source #{ARGV[1]}`.split(':')[-1].strip
     package_version = `grep Version #{ARGV[1]}`.split(':')[-1].strip
+    package_release = `grep Distribution #{ARGV[1]}`.split(':')[-1].strip
 
     result_dir = '/build/'
 
@@ -43,8 +44,8 @@ else
             if File.exists? EXTRA_REPOS
                 extra_repos = JSON::parse(File.read(EXTRA_REPOS))
                 options[:repos].each do |repo|
-                    system("echo #{repo['url']} >> /etc/apt/sources.list.d/extra_repos.list")
-                    system("echo #{repo['key']} | apt-key add -")
+                    system("echo '#{repo['url']} #{package_release} main' >> /etc/apt/sources.list.d/extra_repos.list")
+                    system("echo '#{repo['key']}' | apt-key add -")
                 end
             end
         end

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list