Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedNasser8 committed Sep 6, 2024
1 parent ca2c8dd commit c699d48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
template: |
## What's Changed
$CHANGES
## Contributors
$CONTRIBUTORS
11 changes: 5 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ on:
permissions:
contents: write
id-token: write
pull-requests: read
issues: read


jobs:
Expand Down Expand Up @@ -60,14 +62,11 @@ jobs:
git push
echo "latest_version=$new_version" >> $GITHUB_ENV
- name: Generate Release Notes
- name: Generate release notes
id: release-notes
uses: docker://decathlon/release-notes-generator-action:2.0.1
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
OUTPUT_FOLDER: temp_release_notes
MILESTONE_NUMBER: ${{ github.event.milestone.number || '' }}

- name: Create tag
id: create_tags
Expand All @@ -84,7 +83,7 @@ jobs:
with:
tag_name: ${{env.latest_version}}
release_name: Release ${{env.latest_version}}
body: ${{ steps.release-notes.outputs.notes }}
body: ${{ steps.release-notes.outputs.release_notes }}
draft: false
prerelease: false

Expand Down

0 comments on commit c699d48

Please sign in to comment.