diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a381ad..062966c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,11 @@ jobs: poetry build echo ::set-output name=wheel_name::investments-${GITHUB_REF#refs/tags/}-py3-none-any.whl + - name: Generate Release Notes + run: | + echo '## Changes since previous release:' > changelog.md + git log --oneline $(git describe --tags --abbrev=0 HEAD^)..HEAD --pretty=format:"- [%h](https://github.com/cdump/investments/commit/%H) %s" >> changelog.md + - name: Create Release id: create_release uses: actions/create-release@latest @@ -45,6 +50,7 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: false + body_path: changelog.md - name: Upload Release Asset id: upload-release-asset diff --git a/pyproject.toml b/pyproject.toml index aabbd03..48c1f81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "investments" -version = "0.1.21" +version = "0.1.22" description = "Analysis of Interactive Brokers reports for tax reporting in Russia" license = "MIT" authors = ["Maxim Andreev "]