From cd7e0272c743db5c55f5a7ca7e972525a2f2848a Mon Sep 17 00:00:00 2001 From: Ozgur Yurekten <103259724+oyurekten@users.noreply.github.com> Date: Thu, 20 Jun 2024 02:34:28 +0100 Subject: [PATCH] ci: semantic versioning github actions are enabled. --- .github/workflows/build.yaml | 6 +++--- pyproject.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bdc917d..30a84d2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,6 +32,6 @@ jobs: - name: Test with pytest run: | poetry run pytest - # - name: Semantic release - # run: | - # GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" poetry run semantic-release version + - name: Semantic release + run: | + GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" poetry run semantic-release version diff --git a/pyproject.toml b/pyproject.toml index 5780e19..4a3c108 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,8 +115,8 @@ env = "GIT_COMMIT_AUTHOR" default = "semantic-release " [tool.semantic_release.commit_parser_options] -allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"] -minor_tags = ["feat"] +allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test", "CLI", "API"] +minor_tags = ["feat", "API", "CLI"] patch_tags = ["fix", "perf"] default_bump_level = 0