Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to pre-release in all other branch. #823

Closed
Labels
@cvalentin-dkt

Description

@cvalentin-dkt

Hello,

I try to configure PSR to create pre-release when user create PR in draft (Deploy in sandbox without PSR) and send it to reviews.
But when i do this, my branch is not main and PSR skip creation with message :

Detached HEAD state cannot match any release groups; no release will be made

My pyproject.toml :

[tool.semantic_release]assets = []commit_message = "{version}\n\nAutomatically generated by python-semantic-release"commit_parser = "angular"logging_use_named_masks = falsemajor_on_zero = truetag_format = "v{version}"build_command = "echo 1"version_toml = [    "pyproject.toml:tool.poetry.version",]commit_version_number = trueversion_variables = [    "src/__version__.py:VERSION",][tool.semantic_release.branches.main]match = "main"[tool.semantic_release.branches.other]match = ".*"prerelease_token = "rc"prerelease = true[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 = falselstrip_blocks = falsenewline_sequence = "\n"keep_trailing_newline = falseextensions = []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"][tool.semantic_release.remote]name = "origin"type = "github"ignore_token_for_push = false[tool.semantic_release.publish]dist_glob_patterns = ["dist/*"]upload_to_vcs_release = true

My github action :

      - name: Release        uses: python-semantic-release/python-semantic-release@v8.7.0        with:         directory: ./         github_token: ${{ secrets.GITHUB_TOKEN }}         push: true

Have you idea how to do this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp