diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 038f7da8..83ac3661 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - release-0.x pull_request: concurrency: @@ -139,7 +140,7 @@ jobs: # Do a dry run of PSR - name: Test release uses: python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1 - if: github.ref_name != 'master' + if: github.ref_name != 'master' && github.ref_name != 'release-0.x' with: no_operation_mode: true @@ -147,7 +148,7 @@ jobs: - name: Release uses: python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1 id: release - if: github.ref_name == 'master' + if: github.ref_name == 'master' || github.ref_name == 'release-0.x' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d34c53e1..0b77aa6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG + + +## v0.148.0 (2025-10-05) + +### Features + +- Trigger semantic releases for 0.x branch + ([#1626](https://github.com/python-zeroconf/python-zeroconf/pull/1626), + [`812a2b3`](https://github.com/python-zeroconf/python-zeroconf/commit/812a2b3ff4370593a7a0c3ad67389c76c434aa9b)) + ## v0.147.3 (2025-10-04) @@ -1984,3 +1994,5 @@ Include documentation and test files in source distributions, in order to make t ## v0.15.1 (2014-07-10) + +- Initial Release diff --git a/pyproject.toml b/pyproject.toml index 2e2907b7..c2b6f324 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [project] name = "zeroconf" -version = "0.147.3" +version = "0.148.0" license = "LGPL-2.1-or-later" description = "A pure python implementation of multicast DNS service discovery" readme = "README.rst" @@ -58,6 +58,7 @@ version_variables = [ ] build_command = "pip install poetry && poetry build" tag_format = "{version}" +allow_zero_version = true [tool.semantic_release.changelog] exclude_commit_patterns = [ @@ -71,8 +72,11 @@ keep_trailing_newline = true [tool.semantic_release.branches.master] match = "master" +[tool.semantic_release.branches."release-0.x"] +match = "release-0.x" + [tool.semantic_release.branches.noop] -match = "(?!master$)" +match = "(?!(master|release-0.x)$)" prerelease = true [tool.poetry.dependencies] diff --git a/src/zeroconf/__init__.py b/src/zeroconf/__init__.py index 8c200735..418ad50d 100644 --- a/src/zeroconf/__init__.py +++ b/src/zeroconf/__init__.py @@ -88,7 +88,7 @@ __author__ = "Paul Scott-Murphy, William McBrine" __maintainer__ = "Jakub Stasiak " -__version__ = "0.147.3" +__version__ = "0.148.0" __license__ = "LGPL"