From c010e987de5749b4fea8b830c59ef3900babf4df Mon Sep 17 00:00:00 2001
From: Christoph Witzko <github@christophwitzko.com>
Date: Thu, 2 Feb 2023 19:22:22 +0100
Subject: [PATCH] feat: trigger registry update

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

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bee0516..fbcbcce 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,7 +39,14 @@ jobs:
           go-version: 1.19
       - run: ./scripts/build-local.sh
       - uses: go-semantic-release/action@v1
+        id: semrel
         with:
           hooks: goreleaser
         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