From ddba4441adcc94773707d3067c28ccd751b3510d Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 24 Oct 2023 13:00:49 -0400 Subject: [PATCH] ci: fix GH release workflow (#877) Co-authored-by: Steven Lambert <2433219+straker@users.noreply.github.com> --- .github/workflows/deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a3d7d9b4..72f864d3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -81,4 +81,10 @@ jobs: npx lerna publish from-package \ --force-publish='*' \ --yes - - uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15 + - run: | + PKG_VERSION=$(jq -r .version < lerna.json) + gh release create $PKG_VERSION \ + --title "Release $PKG_VERSION" \ + --generate-notes \ + --repo ${{ github.repository }} + --target master