From d25008da0a2b28b84e516662de5d78bedd8f0e90 Mon Sep 17 00:00:00 2001
From: Christoph Witzko <github@christophwitzko.com>
Date: Fri, 3 Feb 2023 15:23:36 +0100
Subject: [PATCH] fix: use hooks-plugin-registry-update

---
 .github/workflows/ci.yml | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fbcbcce..dcd5c7f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,14 +39,8 @@ jobs:
           go-version: 1.19
       - run: ./scripts/build-local.sh
       - uses: go-semantic-release/action@v1
-        id: semrel
         with:
-          hooks: goreleaser
+          hooks: goreleaser,plugin-registry-update
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      - run: |
-          curl -SL https://get-release.xyz/go-semantic-release/plugin-registry/linux/amd64 -o ./plugin-registry-updater && chmod +x ./plugin-registry-updater
-          ./plugin-registry-updater -p changelog-generator-default -v ${{ steps.semrel.outputs.version }}
-        env:
           PLUGIN_REGISTRY_ADMIN_ACCESS_TOKEN: ${{ secrets.PLUGIN_REGISTRY_ADMIN_ACCESS_TOKEN }}
-        if: steps.semrel.outputs.version != ''
-- 
GitLab