From aabb034f20c624ba1224c9f0c87eb5ac3cd7afbe Mon Sep 17 00:00:00 2001 From: cjumel Date: Mon, 15 Sep 2025 16:58:57 +0200 Subject: [PATCH 1/2] ci: expose outputs in release job --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6be9a36..47278b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ permissions: jobs: release: runs-on: ubuntu-latest + outputs: + released: ${{ steps.release.outputs.released }} concurrency: group: ${{ github.workflow }}-release-${{ github.ref_name }} cancel-in-progress: false From 5cea2fd8cb09bc388407b706b4a2fd37babdbbad Mon Sep 17 00:00:00 2001 From: cjumel Date: Mon, 15 Sep 2025 17:03:04 +0200 Subject: [PATCH 2/2] chore: update pyproject.toml config This: - adds comments explaining reasons for some parameters - remove parameters set to the default - fix the semantic release workflow --- pyproject.toml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ed5055a..d56c8d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,18 +72,10 @@ requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] -packages = ["src/linkup"] - -[tool.semantic_release.changelog.default_templates] -changelog_file = "CHANGELOG.md" - -[tool.semantic_release.commit_parser_options] -minor_tags = ["feat"] -patch_tags = ["fix", "perf"] +packages = ["src/linkup"] # Because project and source code directory names differ [tool.semantic_release] -commit_message = "{version}\n\nAutomatically generated by python-semantic-release" -commit_parser = "conventional" +commit_message = "chore: release v{version}\n\nAutomatically generated by python-semantic-release\n\n[skip ci]" # [skip ci] is needed to recursively calling the release CI allow_zero_version = true major_on_zero = false build_command = """