forked from LiveCarta/PayPal-PHP-SDK
Preparing for 1.7.3
- Updated change log - Update version number in PayPalConstants.php - Update releasinator gem version - Fixed releasinator search regex
This commit is contained in:
@@ -67,7 +67,7 @@ configatron.release_to_github = true
|
||||
def constant_version()
|
||||
f=File.open("lib/PayPal/Core/PayPalConstants.php", 'r') do |f|
|
||||
f.each_line do |line|
|
||||
if line.match (/SDK_VERSION = \'\d*\.\d*\.\d*\'/) # SDK_VERSION = '1.7.1'
|
||||
if line.match (/SDK_VERSION = \'\d+\.\d+\.\d+\'/)
|
||||
return line.strip.split('= ')[1].strip.split('\'')[1]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user