aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup/qi_libs.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-05-18 09:55:06 -0400
committerRalph Amissah <ralph@amissah.com>2015-05-18 09:55:06 -0400
commitbd3f4be045e9f1a34b4922e4b4eeb065a1c9191f (patch)
tree170e6aa01e2bf0cab4b47b2b93f0100173d734d1 /setup/qi_libs.rb
parentdebian/changelog (7.1.0-1) (diff)
parentversion & changelog, tag for release (diff)
Merge tag 'sisu_7.1.1' into debian/sid
SiSU 7.1.1
Diffstat (limited to 'setup/qi_libs.rb')
-rw-r--r--setup/qi_libs.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/setup/qi_libs.rb b/setup/qi_libs.rb
index 5f325302..ec069fee 100644
--- a/setup/qi_libs.rb
+++ b/setup/qi_libs.rb
@@ -405,7 +405,7 @@ proceed? }
changelog_arr_current = IO.readlines(fn)
changelog_arr_next=changelog_arr_current.each.map do |line|
if line =~/^\*\s+sisu_[0-9]+\.[0-9]+\.[0-9]+(?:_pre_rel)?\.orig\.tar\.xz \(Open commit window: [0-9]{4}-[0-9]{2}-[0-9]{2}; Pre-Release\)\)$/
- "** sisu_#{vi[:version]}.orig.tar.xz " \
+ "* sisu_#{vi[:version]}.orig.tar.xz " \
+ "(#{vi[:date]}:#{vi[:date_stamp].gsub(/20\d\dw/,'')})\n"
else line
end
@@ -437,7 +437,7 @@ proceed? }
def self.changelog_header_pre_release(vi)
vn=version_number(vi)
<<-WOK
-* #{vn}.orig.tar.xz (Open commit window: #{vi[:date]}; Pre-Release))
+* sisu_#{vn}.orig.tar.xz (Open commit window: #{vi[:date]}; Pre-Release))
http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_#{vn}
WOK
end
@@ -616,9 +616,9 @@ end
def self.build(fn)
system(%{ gem build #{fn}.gemspec })
end
- def self.install(fn)
+ def self.install(vn)
system(%{
- sudo gem install --local --no-document --verbose #{fn}.gem
+ sudo gem install --local --no-document --verbose sisu-#{vn}.gem
})
end
module Current
@@ -651,8 +651,13 @@ end
def self.build_stable
Gemspecs.build(filename)
end
- def self.install_stable
- Gemspecs.install(filename_stable)
+ def self.install_stable(version=:version_standard)
+ vi=Version_info::Current.setting_stable
+ vn=((version==:version_git) \
+ && (Version_info.version_number_use(vi) != vi[:version_number])) \
+ ? (Version_info.version_number_use(vi))
+ : (vi[:version_number])
+ Gemspecs.install(vn)
end
end
end