Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish --build

- name: Build package
run: |
poetry build

- name: Generate changelog for latest tag
uses: orhun/git-cliff-action@v4.4.2
with:
Expand All @@ -59,7 +63,12 @@ jobs:
GITHUB_REPO: ${{ github.repository }}

- name: Create release
uses: softprops/action-gh-release@v2.2.0
uses: softprops/action-gh-release@v2.1.0
with:
files: dist/*
body_path: CHANGELOG.md

- name: Publish package
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish --build
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protect_breaking_commits = true
# filter out the commits that are not matched by commit parsers
filter_commits = true
# regex for matching git tags
tag_pattern = "^(v[0-9]+.[0-9]+.[0-9]+)$"
tag_pattern = "^(v[0-9]+.[0-9]+.[0-9]+)(?:.dev[0-9]+)?$"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
# regex for ignoring tags
Expand Down
Loading