Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Nov 8, 2024
1 parent 1d131c9 commit 3167286
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.13

- run: |
pip install hatch
hatch build
- uses: actions/upload-artifact@v4
with:
path: ./dist
name: dist
path: dist

pypi-publish:
name: Upload release to PyPI
Expand All @@ -38,19 +37,19 @@ jobs:
- name: Upload packages
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: Create GitHub release
needs: pypi-release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- id: changelog
uses: agronholm/release-notes@v1
with:
path: CHANGELOG.md
version_pattern: ^\#\# ([0-9][^*]*)\n
- uses: ncipollo/release-action@v1
with:
body: ${{ steps.changelog.outputs.changelog }}
github-release:
name: Create GitHub release
needs: pypi-publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- id: changelog
uses: agronholm/release-notes@v1
with:
path: CHANGELOG.md
version_pattern: ^\#\# ([0-9][^*]*)\n
- uses: ncipollo/release-action@v1
with:
body: ${{ steps.changelog.outputs.changelog }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Version history

## 0.1.1

- Add `CHANGELOG.md`.
- Automatically create a GitHub release after publishing to PyPI.

## 0.1.0
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "zmq-anyio"
version = "0.1.0"
version = "0.1.1"
description = "Asynchronous API for ZMQ using AnyIO"
readme = "README.md"
authors = [
Expand Down

0 comments on commit 3167286

Please sign in to comment.