Skip to content

Commit

Permalink
add: release generation in main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
momeemt committed Oct 19, 2024
1 parent e05a762 commit 2548f72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ jobs:
id: version
run: |
echo "version=$(cat ./VERSION)" >> $GITHUB_OUTPUT
- name: Generate release note
id: release-note
run: |
bash scripts/release-note.sh v${{ steps.version.outputs.version }} 2>/dev/null | tee release_notes.md
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.version.outputs.version }}
release_name: v${{ steps.version.outputs.version }}
body_path: release_notes.md
draft: false
prerelease: false

0 comments on commit 2548f72

Please sign in to comment.