From ff59f59dd3e5ddd166e45c680235c496eceffee5 Mon Sep 17 00:00:00 2001 From: leemyongpakvn <3759923+leemyongpakvn@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:04:50 +0700 Subject: [PATCH 1/5] Update build-release.yml remove like previous `cd ${{ github.event.repository.name }}` --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index ef4d858..31e8eab 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -54,6 +54,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.release_info.outputs.upload_url }} - asset_path: ./${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip + asset_path: ./${{ github.event.repository.name }}.zip asset_name: ${{ github.event.repository.name }}.zip asset_content_type: application/zip From db8b305618f5eb4af9a626a5c070345dfe409a1b Mon Sep 17 00:00:00 2001 From: leemyongpakvn <3759923+leemyongpakvn@users.noreply.github.com> Date: Tue, 29 Aug 2023 21:59:00 +0700 Subject: [PATCH 2/5] Update build-release.yml with Morgan's 2nd scenario --- .github/workflows/build-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 31e8eab..5b0ba4b 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -30,12 +30,14 @@ jobs: uses: actions/download-artifact@v3 with: name: ${{ github.event.repository.name }} + path: ${{ github.event.repository.name }} - id: release_info uses: toolmantim/release-drafter@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Prepare for Release - run: | + run: | + cd ${{ github.event.repository.name }} zip -r ${{ github.event.repository.name }}.zip ${{ github.event.repository.name }} - name: Clean existing assets shell: bash From 1b99f1ca3a8e6927d2c0f13723130874deb43b98 Mon Sep 17 00:00:00 2001 From: leemyongpakvn <3759923+leemyongpakvn@users.noreply.github.com> Date: Tue, 29 Aug 2023 22:05:10 +0700 Subject: [PATCH 3/5] restore path --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 5b0ba4b..2eff63e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -56,6 +56,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.release_info.outputs.upload_url }} - asset_path: ./${{ github.event.repository.name }}.zip + asset_path: ./${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip asset_name: ${{ github.event.repository.name }}.zip asset_content_type: application/zip From 019eee487bedd9232f6740b62b2c9def811c29fe Mon Sep 17 00:00:00 2001 From: leemyongpakvn <3759923+leemyongpakvn@users.noreply.github.com> Date: Wed, 30 Aug 2023 08:46:30 +0700 Subject: [PATCH 4/5] Update config.xml --- config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.xml b/config.xml index 432e267..b378a09 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ productcomments - + From f78673ff2b88071b6be0e8f1382c28954403b368 Mon Sep 17 00:00:00 2001 From: leemyongpakvn <3759923+leemyongpakvn@users.noreply.github.com> Date: Wed, 30 Aug 2023 08:47:29 +0700 Subject: [PATCH 5/5] Update productcomments.php --- productcomments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/productcomments.php b/productcomments.php index 10802ea..74c4406 100644 --- a/productcomments.php +++ b/productcomments.php @@ -47,7 +47,7 @@ public function __construct() { $this->name = 'productcomments'; $this->tab = 'front_office_features'; - $this->version = '6.0.1'; + $this->version = '6.0.2'; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->bootstrap = true;