Skip to content

Commit

Permalink
Updated version to 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nandadubey committed Sep 26, 2017
1 parent 834731f commit 0ec8a5b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:

package: validate_version
mkdir -p ./var/
cd ./extension && tar -cvf ../var/Affirm_Affirm-3.4.0.tgz *
cd ./extension && tar -cvf ../var/Affirm_Affirm-3.5.0.tgz *
cd ./build && ./magento-tar-to-connect.phar affirm_tar_to_connect_config.php

clean:
Expand Down
6 changes: 3 additions & 3 deletions build/affirm_tar_to_connect_config.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
return array(
'base_dir' => realpath('../var/'),
'archive_files' => 'Affirm_Affirm-3.4.1.tgz',
'archive_files' => 'Affirm_Affirm-3.5.0.tgz',
'extension_name' => 'Affirm_Magento',
'skip_version_compare' => true,
'extension_version' => '3.4.1',
'archive_connect' => 'Affirm_Affirm-3.4.1.tgz',
'extension_version' => '3.5.0',
'archive_connect' => 'Affirm_Affirm-3.5.0.tgz',
'path_output' => realpath('../var/'),

'stability' => 'stable',
Expand Down
2 changes: 1 addition & 1 deletion extension/app/code/community/Affirm/Affirm/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Affirm_Affirm>
<version>3.4.1</version>
<version>3.5.0</version>
</Affirm_Affirm>
</modules>
<global>
Expand Down
8 changes: 0 additions & 8 deletions util/validate-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ def version(namespace, module):
config = tree.getroot()
return config.find("modules").find(x).find("version").text

if version("Affirm", "Affirm") != version("Affirm", "AffirmPromo"):
print ""
print "ERROR: version mismatch"
print "Affirm_Affirm {0}".format(version("Affirm", "Affirm"))
print "Affirm_AffirmPromo {0}".format(version("Affirm", "AffirmPromo"))
print ""
exit(1)

if version("Affirm", "Affirm") != version_in_tarball_config("build/affirm_tar_to_connect_config.php"):
print ""
print "ERROR: version mismatch"
Expand Down

0 comments on commit 0ec8a5b

Please sign in to comment.