librex 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -4
- metadata +1 -1
data/Rakefile
CHANGED
@@ -50,7 +50,7 @@ task :update do
|
|
50
50
|
version[2] = version[2].to_i + 1
|
51
51
|
version = version.join(".")
|
52
52
|
|
53
|
-
|
53
|
+
print "#{version}"
|
54
54
|
|
55
55
|
line = "VERSION = \"#{version}\"\n"
|
56
56
|
elsif line =~ /^REVISION = (.*)$/
|
@@ -83,9 +83,9 @@ task :update do
|
|
83
83
|
|
84
84
|
system "mv README.markdown.1 README.markdown &> /dev/null"
|
85
85
|
|
86
|
-
system "git commit -a -m \"Updated for Revision #{rev[1]}\""
|
87
|
-
puts "Commiting and Pushing Updates for Revision #{rev[1]}"
|
88
|
-
system "git push"
|
86
|
+
system "git commit -a -m \"Updated for Revision #{rev[1]}\" &> /dev/null"
|
87
|
+
puts "Commiting and Pushing Updates for Revision #{rev[1]} &> /dev/null"
|
88
|
+
system "git push &> /dev/null"
|
89
89
|
|
90
90
|
#Twitter tweet for the update, I am that lazy yes.
|
91
91
|
puts "Updated librex to v#{version} based on SVN Revision: #{rev[1]} of the Metasploit rex library. Available in rubygems."
|