diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..38a928e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,32 @@ +# CHANGELOG + + + +## v0.1.0 (2023-09-12) + +### Unknown + +* workflow test ([`6b8472b`](https://github.com/ThreatX/threatx-api-client/commit/6b8472ba350de18d862ab5747c210ce8a49370ee)) + +* workflow test ([`ca12102`](https://github.com/ThreatX/threatx-api-client/commit/ca12102697cbb83e0c296f1f53daed785b37627f)) + +* workflow test ([`d3c8c20`](https://github.com/ThreatX/threatx-api-client/commit/d3c8c205810f01f119160436f17c0f709cb6a1b6)) + +* workflow test ([`c5bfeb7`](https://github.com/ThreatX/threatx-api-client/commit/c5bfeb723942befe5677c47e9fe2ba5922c87d1c)) + +* workflow test ([`5711fe8`](https://github.com/ThreatX/threatx-api-client/commit/5711fe816447d35760a6556b9b26bf4c65633da1)) + + +## v0.0.0 (2023-09-12) + +### Unknown + +* workflow test ([`cc91d4c`](https://github.com/ThreatX/threatx-api-client/commit/cc91d4cdc7d694dbd030acd96aec50fc00d540d1)) + +* workflow test ([`f9e0c02`](https://github.com/ThreatX/threatx-api-client/commit/f9e0c02e1fccdb8fd1d00d8e404e4952266cc2d9)) + +* Small fixes and optimizations ([`473cf60`](https://github.com/ThreatX/threatx-api-client/commit/473cf60cb3efc62e2f0d9cf243a4afd073dd48a3)) + +* Poetry project ([`19772ab`](https://github.com/ThreatX/threatx-api-client/commit/19772aba7b70dd4fa7ec2a667d648e25f46a143a)) + +* Initial commit ([`13417b6`](https://github.com/ThreatX/threatx-api-client/commit/13417b6c9603344991911fb6ad7596732907c2dd)) diff --git a/pyproject.toml b/pyproject.toml index e200324..9c8ab53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "threatx-api-client" -version = "1.0.0" +version = "0.1.0" description = "A client library for the ThreatX API" authors = ["Nikita Ratskov "] license = "" @@ -22,17 +22,58 @@ python-semantic-release = "^8.0.8" requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + [tool.semantic_release] -version_variable = ["pyproject.toml:tool.poetry.version"] version_toml = ["pyproject.toml:tool.poetry.version"] - -branch = 'main' -upload_to_pypi = false -upload_to_release = true assets = [] +commit_message = "{version}\n\nAutomatically generated by python-semantic-release" +commit_parser = "angular" +logging_use_named_masks = false +major_on_zero = false tag_format = "v{version}" build_command = "poetry build --format wheel" [tool.semantic_release.branches.main] -match = "main" +match = "(main|master)" +prerelease_token = "rc" prerelease = false + +[tool.semantic_release.changelog] +template_dir = "templates" +changelog_file = "CHANGELOG.md" +exclude_commit_patterns = [] + +[tool.semantic_release.changelog.environment] +block_start_string = "{%" +block_end_string = "%}" +variable_start_string = "{{" +variable_end_string = "}}" +comment_start_string = "{#" +comment_end_string = "#}" +trim_blocks = false +lstrip_blocks = false +newline_sequence = "\n" +keep_trailing_newline = false +extensions = [] +autoescape = true + +[tool.semantic_release.commit_author] +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"] +patch_tags = ["fix", "perf"] + +[tool.semantic_release.remote] +name = "origin" +type = "github" +ignore_token_for_push = false + +[tool.semantic_release.remote.token] +env = "GH_TOKEN" + +[tool.semantic_release.publish] +dist_glob_patterns = ["dist/*"] +upload_to_vcs_release = true