Skip to content

Commit

Permalink
fix: use hooks-plugin-registry-update
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Feb 3, 2023
1 parent c010e98 commit d25008d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 != ''

0 comments on commit d25008d

Please sign in to comment.