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

Harald Sitter apachelogger-guest at moszumanska.debian.org
Fri May 8 10:42:39 UTC 2015


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

The following commit has been merged in the master branch:
commit fcb5e71a1731be1b272c2fdc68623c4becd4013a
Author: Harald Sitter <sitter at kde.org>
Date:   Fri May 8 12:42:33 2015 +0200

    promote weekly only on fridays
---
 kci/ppa_promote.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kci/ppa_promote.rb b/kci/ppa_promote.rb
index 7e2c57b..90a6167 100755
--- a/kci/ppa_promote.rb
+++ b/kci/ppa_promote.rb
@@ -166,7 +166,9 @@ packages = JSON.parse(File.read('sources-list.json'))
 Launchpad.authenticate
 
 live = Archive.new(project.type, project.series)
-%w(daily weekly).each do |snapshot|
+snapshots = %w(daily)
+snapshots << 'weekly' if DateTime.now.friday?
+snapshots.each do |snapshot|
   LOG.info "Working on #{project.type}-#{snapshot}"
   ppa = Archive.new("#{project.type}-#{snapshot}", project.series)
   ppa.wipe

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list