diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2807fbc..caa73b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,14 @@ jobs: cache: pnpm - name: install dependencies run: pnpm install + - name: save new version + run: echo "version=cat package.json | jq -r '.version'" >> "$GITHUB_ENV" - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: + commit: Version Packages ${env.version} + title: Release ${env.version} publish: pnpm ci:release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}