From 678ba8c915e20d2976588008d5f344151729fa65 Mon Sep 17 00:00:00 2001 From: Tung Huynh Date: Mon, 22 Jul 2024 13:50:03 +0700 Subject: [PATCH] Update auto publish --- .github/workflows/publish.yml | 4 +--- processor/package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3e7fbd8..d0ebe00 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,8 +44,6 @@ jobs: --header 'Content-Type: application/json' \ --header "Authorization: Bearer $ACCESS_TOKEN") - echo $CONNECTOR_DETAILS - VERSION=$(echo $CONNECTOR_DETAILS | jq -r '.version') echo Updating version $VERSION @@ -53,4 +51,4 @@ jobs: curl --fail-with-body --silent --location POST "https://connect.$CTP_REGION.commercetools.com/connectors/drafts/key=$CTP_CONNECTOR_KEY" \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $ACCESS_TOKEN" \ - --data-raw "{\"version\": $VERSION, \"actions\": [{\"action\": \"setRepository\",\"url\": \"git@github.com:mollie/commercetools-connector.git\",\"tag\": \"$GITHUB_REF_NAME\"},{\"action\": \"updatePreviewable\"}]}" \ No newline at end of file + --data-raw "{\"version\": $VERSION, \"actions\": [{\"action\": \"setRepository\",\"url\": \"git@github.com:mollie/commercetools-connector.git\",\"tag\": \"$GITHUB_REF_NAME\"},{\"action\": \"updatePreviewable\"},{\"action\":\"publish\",\"certification\": false}]}" \ No newline at end of file diff --git a/processor/package.json b/processor/package.json index cdbb20f..937ba49 100644 --- a/processor/package.json +++ b/processor/package.json @@ -1,7 +1,7 @@ { "name": "shopmacher-mollie-processor", "description": "Integration between commercetools and mollie payment service provider", - "version": "0.0.14", + "version": "0.0.15", "main": "index.js", "private": true, "scripts": {