File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
doc = <<DOCOPT
9
9
Usage:
10
- #{ __FILE__ } from <oldest-ref> [--to <newest-ref>] [options] [-v...] [-q...] [-c (<user> <password> <target>)]...
11
- #{ __FILE__ } from-latest-tag <approximation> [--to <newest-ref>] [options] [-v...] [-q...] [-c ( <user> <password> <target>) ]...
10
+ #{ __FILE__ } from <oldest-ref> [--to= <newest-ref>] [options] [-v...] [-q...] [-c (<user> <password> <target>)]...
11
+ #{ __FILE__ } from-latest-tag <approximation> [--to= <newest-ref>] [options] [-v...] [-q...] [-c <user> <password> <target>]...
12
12
#{ __FILE__ } -h|--help
13
13
14
14
Options:
@@ -45,7 +45,7 @@ def version
45
45
if File . exist? ( dir +'/version.stamp' )
46
46
version = File . read ( dir +'/version.stamp' )
47
47
else
48
- version = "Unknown version"
48
+ version = "Version " + File . read ( dir + '/ version.properties' ) . split ( "=" ) [ 1 ]
49
49
end
50
50
version
51
51
end
You can’t perform that action at this time.
0 commit comments