Build_command not found in path
See original GitHub issueThe 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:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Where can I find the 'build' command needed to ... - Ask Ubuntu
The solution is to use bash:~/src/edk2$ source edksetup.sh bash:~/src/edk2$ build. The effect of export command inside edksetup.sh is not ...
Read more >build: command not found
build: command not found. Have You tried accessing the binary with the full path? ... If it's empty, You may set the PATH...
Read more >How To Fix “Make: Command Not Found” Error
The Make Command Not Found error indicates that the make utility is either not installed on the system or it's not present in...
Read more >Build command not found. 'go' - yaml - Stack Overflow
I have set up go in setup step. I don't know why it is telling that it did not found the go command....
Read more >Npm install command failing with message "could not find ...
When I run the npm install command, npm starts downloading the dependencies. ... npm ERR! code 1 npm ERR! path C:\Users\ricar\Desktop\mflix-js\…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I recently migrated a project which was using PSR on Github actions to Poetry and here is the config I’m using:
This works because a couple of things work nicely together:
version_variable
can be specified in multiple places, once inpyproject.toml
and once in the module__init__.py
version = "1.2.3"
build_command
with&&
. The documentation usesflit
as an example, but it works the same for Poetry.dist/
by default, which is perfectly compatible with what PSR uses to publish (Twine)Hope this helps!
This bug report has been labelled as help wanted since there has been no activity in the last 3 weeks. It will not be closed.