Skip to content

Commit

Permalink
fix(ci): python sdk release (#2221)
Browse files Browse the repository at this point in the history
Fixes `tags_only` workflow, `Release python sdk` job:
```
#!/bin/bash -eo pipefail
make release-python-sdk

comm: file 1 is not in sorted order
comm: input is not in sorted order
cd python && make publish
make[1]: Entering directory '/home/circleci/repo/python'
No files to publish. Run poetry build first or use the --build option.
make[1]: *** [Makefile:54: publish] Error 1
make[1]: Leaving directory '/home/circleci/repo/python'
make: *** [Makefile:166: release-python-sdk] Error 2
```


https://app.circleci.com/pipelines/github/bacalhau-project/bacalhau/4678/workflows/ad78a678-dfb4-4d71-99f9-146206231c20/jobs/61282
  • Loading branch information
enricorotundo authored Mar 23, 2023
1 parent c76d894 commit 46ac141
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ build:
.SILENT: publish
.PHONY: publish
publish:
$(POETRY) publish --skip-existing -u __token__ -p ${PYPI_TOKEN}
$(POETRY) version -- ${VERSION}
$(POETRY) publish --build --no-interaction --skip-existing -u __token__ -p ${PYPI_TOKEN}

# .PHONY: bumpversion
# bump2version --new-version minor src/VERSION

0 comments on commit 46ac141

Please sign in to comment.