diff --git a/.changeset/happy-kiwis-smoke.md b/.changeset/happy-kiwis-smoke.md new file mode 100644 index 0000000..1b9b14c --- /dev/null +++ b/.changeset/happy-kiwis-smoke.md @@ -0,0 +1,5 @@ +--- +"@peeramid-labs/eds": patch +--- + +ci chore diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ac2e76..28c1323 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,7 @@ jobs: - name: generate docs run: pnpm hardhat docgen - name: Create Release Pull Request or Publish to npm + id: changesets uses: changesets/action@v1 with: publish: pnpm run release @@ -34,3 +35,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Send Discord notification + if: steps.changesets.outputs.published == 'true' + uses: Ilshidur/action-discord@master + with: + args: | + New release published! Check out the changes: https://github.com/${{ github.repository }}/releases/tag/${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }} + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_NOTIFIER }}