From: Martin Vidner Date: Mon, 18 Jan 2016 11:08:16 +0000 (+0100) Subject: Rakefile: strip branch name. X-Git-Tag: v0.3.3~21^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F211%2Fhead;p=thirdparty%2Fsnapper.git Rakefile: strip branch name. --- diff --git a/Rakefile b/Rakefile index 4bcda8a8..83341ad8 100644 --- a/Rakefile +++ b/Rakefile @@ -12,6 +12,7 @@ require "yast/tasks" Yast::Tasks.submit_to(ENV.fetch("YAST_SUBMIT", "factory").to_sym) Packaging.configuration do |conf| + conf.package_name.sub!(/-.*/, "") # strip branch name conf.package_dir = ".obsdir" # Makefile.ci puts it there conf.skip_license_check << /.*/ end