We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5035bd6 commit b6b9a15Copy full SHA for b6b9a15
Rakefile
@@ -8,7 +8,7 @@ task test: :build do
8
end
9
10
task :deploy do
11
- current_tag = `git tag -l`.split(/\n/).map{|v|v=~/v(\d+)/;$1.to_i}.sort.last
+ current_tag = `git tag -l`.split(/\n/).map { |v| v =~ /v(\d+)/; Regexp.last_match(1).to_i }.sort.last
12
next_tag = current_tag + 1
13
puts "Deploying tag #{next_tag}"
14
system("git tag v#{next_tag}")
assets/lib/common.rb
@@ -3,7 +3,7 @@
3
require 'faraday'
4
# httpclient and excon are the only Faraday adpater which support
5
# the no_proxy environment variable atm
6
-::Faraday.default_adapter= :httpclient
+::Faraday.default_adapter = :httpclient
7
require 'octokit'
require 'fileutils'
0 commit comments