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 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 = """