-
Notifications
You must be signed in to change notification settings - Fork 2
Publishing
Daniel Coelho edited this page Nov 22, 2019
·
6 revisions
Note: This section is only for Utrust team members or external collaborators with permissions.
Since we are not yet publishing our extension directly into Magento marketplace, the publishing process needs to be done manually. Therefore, to release a new version of the current code on the master
branch, you'll need to follow these steps:
- Checkout from master to a branch with the version name (e.g.:
release-v0.1.3
) - Update the version on
/etc/modules/Utrust_Payment.xml
line 7. - Update
CHANGELOG.md
with all the significant changes since the last version update - Open Pull-request, ask for approval and merge to
master
(Don't delete the branch!)
- Via FTP, upload all the files changed between
master
and our server. - Test the payment flow.
- Go to the Magento admin dashboard.
- Navigate to "System" -> "Magento Connect" -> "Package Extensions".
- Login with the credentials used in step 1.
- Go to "Load Local Package" and click "Utrust_Payment" (if you don't see it, you might be missing the
var/connect/Utrust_Payment.xml
file). - Change the Extension Package data:
- On "Release Info" change the "Release version" and add the changelog notes
- The "Contents" section should look like this:
TARGET PATH TYPE
Mag Local module file Utrust/Payment Recursive Dir
Mag User Interface (layouts, templates) frontend/base/default/template/utrust/payment Recursive Dir
Mag Global Configuration modules/Utrust_Payment.xml File
Mag User Interface (layouts, templates) adminhtml/default/default/template/utrust/payment Recursive Dir
Mag Locale language File en_US/Utrust_Payment.csv File
Mag Locale language File pt_PT/Utrust_Payment.csv File
- Click "Save Data and Create Package" button above.
- The
tgz
package file should appear invar/connect
with the name:Utrust_Payment-<version_number>
and the correspondingxml
should be there as well. - Download it, you will need it later.
- Go to "Releases" and create a new Release:
- The "tag version" and "release title" should be the release version (e.g.
v0.1.2
) - The target branch is the one created in step
- Copy the version changes from the
CHANGELOG.md
- Upload the new
tgz
to the attachments - Click
Publish release
- The "tag version" and "release title" should be the release version (e.g.
- Optionally, send a message to the UTRUST Support team to communicate this new release to Merchants which use Magento.
Note: You might need to compile the extension in System -> Tools -> Compilation
and click on Run Compilation Process
button.