Skip to content

Build_command not found in path #222

Open
@alandtse

Description

@alandtse

The problem

The build_command not found in path for GitHub Actions

Expected behavior

The build_command command runs successfully.

Additional context

[semantic_release]
version_variable=pyproject.toml:version
upload_to_pypi=true
check_build_status=false
remove_dist=false
hvcs=gitlab
build_command="poetry publish --build"
 $ pip install poetry
<snip>
 $ poetry config virtualenvs.create false
 $ poetry install
<snip>
 $ pip install python-semantic-release
<snip>
 $ semantic-release publish
 Creating new version
 Current version: 1.6.1
 Bumping with a minor version to 1.7.0
 Pushing new version
 Building distributions
 Running "poetry publish --build"
 /bin/bash: poetry publish --build: command not found
 error: Encountered a bad command exit code!
 error: 
 error: Command: '"poetry publish --build"'
 error: 
 error: Exit code: 127
 error: 
 error: Stdout: already printed
 error: 
 error: Stderr: already printed
 error: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions