diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a2c738e896cb8183f97ab836fc8c2e3cd26ab207..f8e0203e993513e59c596ce44ed99a4691421e4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,13 @@ tag_deploy: - git fetch origin prod - TAG_BRANCH=$(git for-each-ref --format='%(refname:short)' --contains $CI_COMMIT_SHA refs/heads/ | grep "^prod$" || echo "") - echo "Current branches containing this commit: $(git for-each-ref --format='%(refname:short)' --contains $CI_COMMIT_SHA refs/heads/)" - - if [ -z "$TAG_BRANCH" ]; then echo "Tag ${CI_COMMIT_TAG} was not created on the prod branch."; exit 1; else echo "Tag ${CI_COMMIT_TAG} was created on the prod branch."; fi + - | + if [ -z "$TAG_BRANCH" ]; then + echo "Tag ${CI_COMMIT_TAG} was not created on the prod branch." + exit 1 + else + echo "Tag ${CI_COMMIT_TAG} was created on the prod branch." + fi script: - "TAG_ARCHIVE_URL=https://gitlab.bob.co.za/bob-public-utils/bobgo-magento-extension/-/archive/${CI_COMMIT_TAG}/bobgo-magento-extension-${CI_COMMIT_TAG}.zip" - curl -o bobgo-magento-extension-${CI_COMMIT_TAG}.zip "$TAG_ARCHIVE_URL" diff --git a/composer.json b/composer.json index 4e3389c31931005ce1e37e1d8918d6ca55ce736b..d4423e2daabe2ef0f00c0a21a96047f1252c7aed 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "bobgo/bobgo-magento-extension", "description": "Smart shipping and order management solution in South Africa", "type": "magento2-module", - "version": "1.0.54", + "version": "1.0.55", "authors": [ { "name": "Bob Go", diff --git a/etc/module.xml b/etc/module.xml index 511b611d7317d3538256b5992f4febb7dc713910..1360275cad21e2d48be4c57df3ac1caad6feb2b0 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -7,7 +7,7 @@ */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> - <module name="BobGroup_BobGo" setup_version="1.0.54"> + <module name="BobGroup_BobGo" setup_version="1.0.55"> <sequence> <module name="Magento_Webapi"/> <module name="Magento_Catalog"/> diff --git a/package.json b/package.json index 47e8b0e95def405a84d0993d2eb8adbc4a38c350..e61154644460992ae5a22a36fce11a82fda54aa3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bobgo-magento-plugin", "description": "Bob Go magento plugin", - "version": "1.0.54", + "version": "1.0.55", "license": "GPL-2.0-or-later", "scripts": { "prepare": "husky install",