Skip to content

Commit daa7d7d

Browse files
committed
chore: refactor environment
1 parent cea6931 commit daa7d7d

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

semantic_release.toml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
[semantic_release]
2+
version_toml = [
3+
"pyproject.toml:project.version",
4+
]
5+
6+
assets = []
7+
build_command_env = []
8+
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
9+
commit_parser = "angular"
10+
logging_use_named_masks = false
11+
major_on_zero = true
12+
allow_zero_version = true
13+
no_git_verify = false
14+
tag_format = "{version}"
15+
16+
[semantic_release.branches.main]
17+
match = "(main|master)"
18+
prerelease_token = "rc"
19+
prerelease = false
20+
21+
22+
[semantic_release.changelog]
23+
exclude_commit_patterns = []
24+
mode = "init"
25+
insertion_flag = "<!-- version list -->"
26+
template_dir = "templates"
27+
28+
[semantic_release.changelog.default_templates]
29+
changelog_file = "CHANGELOG.md"
30+
output_format = "md"
31+
mask_initial_release = false
32+
33+
[semantic_release.changelog.environment]
34+
block_start_string = "{%"
35+
block_end_string = "%}"
36+
variable_start_string = "{{"
37+
variable_end_string = "}}"
38+
comment_start_string = "{#"
39+
comment_end_string = "#}"
40+
trim_blocks = false
41+
lstrip_blocks = false
42+
newline_sequence = "\n"
43+
keep_trailing_newline = false
44+
extensions = []
45+
autoescape = false
46+
47+
[semantic_release.commit_author]
48+
env = "GIT_COMMIT_AUTHOR"
49+
default = "semantic-release <semantic-release>"
50+
51+
[semantic_release.commit_parser_options]
52+
minor_tags = ["feat"]
53+
patch_tags = ["fix", "perf"]
54+
other_allowed_tags = ["build", "chore", "ci", "docs", "style", "refactor", "test"]
55+
allowed_tags = ["feat", "fix", "perf", "build", "chore", "ci", "docs", "style", "refactor", "test"]
56+
default_bump_level = 0
57+
58+
[semantic_release.remote]
59+
name = "origin"
60+
token = { env = "GH_TOKEN" }
61+
type = "github"
62+
ignore_token_for_push = false
63+
insecure = false
64+
65+
[semantic_release.publish]
66+
dist_glob_patterns = ["dist/*"]
67+
upload_to_vcs_release = true
68+

0 commit comments

Comments
 (0)