diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67c54bb..9b12c01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,19 @@ jobs: - run: yarn install --frozen-lockfile - run: yarn ci + - name: Generate changelog + uses: orhun/git-cliff-action@v4 + id: changelog + with: + args: --latest --strip header + - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Create Github Release + uses: softprops/action-gh-release@v2 + with: + body: ${{ steps.changelog.outputs.content }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index d563840..dfd1e2d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "apigen-ts", - "version": "0.2.0", + "version": "1.0.0", "license": "MIT", "author": "vladkens ", "repository": "vladkens/apigen-ts",