|
|
@ -104,7 +104,7 @@ end
|
|
|
|
ARGV << 'patch' if ARGV.empty?
|
|
|
|
ARGV << 'patch' if ARGV.empty?
|
|
|
|
help unless ARGV.count == 1
|
|
|
|
help unless ARGV.count == 1
|
|
|
|
|
|
|
|
|
|
|
|
raise 'Not in master branch' unless `git rev-parse --abbrev-ref HEAD`.strip == 'master'
|
|
|
|
# raise 'Not in master branch' unless `git rev-parse --abbrev-ref HEAD`.strip == 'master'
|
|
|
|
|
|
|
|
|
|
|
|
puts 'Pulling and fetching tags...'
|
|
|
|
puts 'Pulling and fetching tags...'
|
|
|
|
`git pull --tags`
|
|
|
|
`git pull --tags`
|
|
|
|