forked from LiveCarta/PayPal-PHP-SDK
Updated releasinator configuration.
- Removed duplicate declaration
This commit is contained in:
committed by
GitHub
parent
d62e8db407
commit
d088726e32
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user