diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..65a9bfa --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,5 @@ +changelog: + categories: + - title: Changes 🚀 + labels: + - "*" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e5036d..0425be8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,11 +8,21 @@ on: jobs: deploy: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout - uses: actions/checkout@v2 - - name: Release - uses: softprops/action-gh-release@v1 + uses: actions/checkout@v3 + - name: Install gh CLI + uses: actions/setup-node@v3 + with: + node-version: "18" + - name: Create Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release create ${GITHUB_REF#refs/tags/} \ + --generate-notes - name: Tag latest uses: EndBug/latest-tag@v1