diff --git a/.github/release-drafter.yml b/.github/release-drafter.yaml similarity index 63% rename from .github/release-drafter.yml rename to .github/release-drafter.yaml index 4eac8eb..efdfd23 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yaml @@ -1,5 +1,3 @@ -name-template: "v$RESOLVED_VERSION 🌈" -tag-template: "v$RESOLVED_VERSION" categories: - title: "🚀 Features" labels: @@ -14,18 +12,9 @@ categories: label: "chore" change-template: "- $TITLE @$AUTHOR (#$NUMBER)" change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. -version-resolver: - major: - labels: - - "major" - minor: - labels: - - "minor" - patch: - labels: - - "patch" - default: patch template: | ## Changes $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8d8391d..44723f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -60,12 +60,14 @@ jobs: override: true components: rustfmt, clippy - # - name: Release draft - # uses: release-drafter/release-drafter@v5 - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # publish: true + - name: Release drafter + uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + publish: true + name: ${{ github.ref_name }} + tag: ${{ github.ref_name }} - name: Publish env: