chore: add support for semantic-release
This commit is contained in:
parent
3f3c67b3ab
commit
62e37586c8
1
new_release.sh
Normal file
1
new_release.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
semantic-release version --tag --changelog --vcs-release
|
@ -20,6 +20,68 @@ Homepage = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj"
|
|||||||
Issues = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj/issues"
|
Issues = "https://git.aquila-consortium.org/guilhem_lavaux/pysphereproj/issues"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython"]
|
requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython", "python-semantic-release"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[tool.semantic_release]
|
||||||
|
assets = []
|
||||||
|
version_toml = [
|
||||||
|
"pyproject.toml:project.version",
|
||||||
|
]
|
||||||
|
version_variables = [
|
||||||
|
"src/sphereproj/__init__.py:__version__"
|
||||||
|
]
|
||||||
|
build_command_env = []
|
||||||
|
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
|
||||||
|
commit_parser = "angular"
|
||||||
|
logging_use_named_masks = false
|
||||||
|
major_on_zero = true
|
||||||
|
allow_zero_version = true
|
||||||
|
tag_format = "v{version}"
|
||||||
|
|
||||||
|
[tool.semantic_release.branches.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 <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"]
|
||||||
|
default_bump_level = 0
|
||||||
|
|
||||||
|
[tool.semantic_release.remote]
|
||||||
|
name = "origin"
|
||||||
|
type = "gitea"
|
||||||
|
ignore_token_for_push = false
|
||||||
|
insecure = false
|
||||||
|
domain = "git.aquila-consortium.org"
|
||||||
|
|
||||||
|
[tool.semantic_release.publish]
|
||||||
|
dist_glob_patterns = ["dist/*"]
|
||||||
|
upload_to_vcs_release = true
|
||||||
|
|
||||||
|
|
||||||
|
@ -1 +1,3 @@
|
|||||||
from ._project import spherical_projection, project_cic, interp3d
|
from ._project import spherical_projection, project_cic, interp3d
|
||||||
|
|
||||||
|
__version__ = "1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user