diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 3f837663..b1d71d81 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,6 +1,3 @@ -name-template: '$YEAR.$MONTH.$DAY' -tag-template: '$YEAR.$MONTH.$DAY' -tag-prefix: "" categories: - title: '🚀 Features' labels: diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 39a89d14..4fccbce2 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -80,15 +80,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - config-name: release-drafter.yml - version: ${{ env.version }} + config-name: .github/release-drafter.yml + version: ${{ env.VERSION }} # Pass the version variable - name: Create and Upload Release id: create_release uses: softprops/action-gh-release@v2 with: - tag_name: ${{ env.version }} - name: Pre-Release ${{ env.version }} + tag_name: ${{ env.VERSION }} + name: Pre-Release ${{ env.VERSION }} body: | ${{ steps.generate_notes.outputs.body }}