Skip to content
Snippets Groups Projects
Commit d25008da authored by Christoph Witzko's avatar Christoph Witzko
Browse files

fix: use hooks-plugin-registry-update

parent c010e987
No related branches found
No related tags found
No related merge requests found
...@@ -39,14 +39,8 @@ jobs: ...@@ -39,14 +39,8 @@ jobs:
go-version: 1.19 go-version: 1.19
- run: ./scripts/build-local.sh - run: ./scripts/build-local.sh
- uses: go-semantic-release/action@v1 - uses: go-semantic-release/action@v1
id: semrel
with: with:
hooks: goreleaser hooks: goreleaser,plugin-registry-update
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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 }} PLUGIN_REGISTRY_ADMIN_ACCESS_TOKEN: ${{ secrets.PLUGIN_REGISTRY_ADMIN_ACCESS_TOKEN }}
if: steps.semrel.outputs.version != ''
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment