Updated releasinator configuration.

- Removed duplicate declaration
This commit is contained in:
Bhavani Bheemanadham
2016-08-01 09:52:59 -05:00
committed by GitHub
parent d62e8db407
commit d088726e32

View File

@@ -65,7 +65,7 @@ configatron.wait_for_package_manager_method = method(:wait_for_package_manager)
configatron.release_to_github = true configatron.release_to_github = true
def constant_version() def constant_version()
f=File.open("lib/PayPal/Core/PayPalConstants.php", 'r') do |f| File.open("lib/PayPal/Core/PayPalConstants.php", 'r') do |f|
f.each_line do |line| f.each_line do |line|
if line.match (/SDK_VERSION = \'\d+\.\d+\.\d+\'/) if line.match (/SDK_VERSION = \'\d+\.\d+\.\d+\'/)
return line.strip.split('= ')[1].strip.split('\'')[1] return line.strip.split('= ')[1].strip.split('\'')[1]