diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8a47cd..b847a94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,11 +184,19 @@ jobs: with: path: out + - name: Checkout source + uses: actions/checkout@v4 + + # Get latest two tags, reverse order, then get log between those tags + - name: Generate release notes + run: git tag --sort=-version:refname | head -n 2 | tac | sed 'N;s/\n/../' | xargs git log --oneline --no-decorate > ${{ github.workspace }}-changelog.txt + - name: Publish release uses: softprops/action-gh-release@v1 with: draft: false prerelease: false + body_path: ${{ github.workspace }}-changelog.txt files: | out/**/*.zip