autobuild 1.5.28 → 1.5.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ == Version 1.5.29
2
+ * added --version
3
+
1
4
  == Version 1.5.28
2
5
  * fix failure when all packages are built in a different prefix than
3
6
  Autobuild.prefix. The main log directory was not created, which was leading
@@ -181,6 +181,10 @@ module Autobuild
181
181
  opts.on("--[no-]verbose", "display output of commands on stdout") do |v| Autobuild.verbose = v end
182
182
  opts.on("--[no-]debug", "debug information (for debugging purposes)") do |v| Autobuild.debug = v end
183
183
  opts.on("--keep-oldlogs", "old logs will be kept, new program output being appended") do |v| Autobuild.keep_oldlogs = v end
184
+ opts.on('--version', "displays autobuild version and then exits") do
185
+ puts "autobuild v#{Autobuild::VERSION}"
186
+ exit 0
187
+ end
184
188
 
185
189
  opts.separator ""
186
190
  opts.separator "Mail reports"
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.28" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.29" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 28
10
- version: 1.5.28
9
+ - 29
10
+ version: 1.5.29
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sylvain Joyeux