[SCM] ci-tooling packaging branch, master, updated. 89dcfaa96c5f6351e64e80db4656d26cd1b0e3d6
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Fri Dec 5 18:52:00 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=89dcfaa
The following commit has been merged in the master branch:
commit 89dcfaa96c5f6351e64e80db4656d26cd1b0e3d6
Author: Rohan Garg <rohan at kde.org>
Date: Fri Dec 5 19:51:51 2014 +0100
Pass release as second argument
---
dci/source.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dci/source.rb b/dci/source.rb
index 50ad624..a56bf92 100644
--- a/dci/source.rb
+++ b/dci/source.rb
@@ -3,11 +3,14 @@ require 'fileutils'
require_relative '../lib/debian/changelog'
require_relative '../lib/debian/control'
+raise "No workspace dir defined!" unless ARGV[1]
+raise "No release defined!" unless ARGV[2]
+
system("apt-get update && apt-get -y dist-upgrade")
system("apt-get -y install devscripts lsb-release")
system("dcmd rm -v #{ARGV[1]}/build/*.changes")
-release = ENV['JOB_NAME'].split('_')[-1]
+release = ARGV[2]
Dir.chdir(ARGV[1]) do
# Get source name and what not
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list