|
1 | 1 | ## Publish a corresponding version of Python client to
|
2 |
| -## https://pypi.org/project/data-repo-client/ |
| 2 | +## https://pypi.org/project/data_repo_client/ |
3 | 3 | ##
|
4 |
| -## To manage the data-repo-client project in PyPi, you must have a PyPi account |
| 4 | +## To manage the data_repo_client project in PyPi, you must have a PyPi account |
5 | 5 | ## and be added as an owner to the project by a current owner.
|
6 | 6 |
|
7 | 7 | name: Publish Python 🐍 distributions 📦 to PyPI
|
@@ -47,21 +47,21 @@ jobs:
|
47 | 47 | openapi-generator-cli generate \
|
48 | 48 | -i src/main/resources/api/data-repository-openapi.yaml \
|
49 | 49 | -g python \
|
50 |
| - -o data-repo-client \ |
51 |
| - --additional-properties=projectName=data-repo-client,packageName=data_repo_client,packageVersion=${CURRENT_SEMVER},useSpringBoot3=true \ |
| 50 | + -o data_repo_client \ |
| 51 | + --additional-properties=projectName=data_repo_client,packageName=data_repo_client,packageVersion=${CURRENT_SEMVER},useSpringBoot3=true \ |
52 | 52 | --skip-validate-spec
|
53 | 53 | - name: Install pypa/build
|
54 |
| - working-directory: ./data-repo-client |
| 54 | + working-directory: ./data_repo_client |
55 | 55 | run: >-
|
56 | 56 | python -m pip install build --user
|
57 | 57 | - name: Build a binary wheel and a source tarball
|
58 |
| - working-directory: ./data-repo-client |
| 58 | + working-directory: ./data_repo_client |
59 | 59 | run: >-
|
60 | 60 | python -m build --sdist --wheel --outdir dist/ .
|
61 | 61 | - name: Publish distribution 📦 to PyPI
|
62 | 62 | uses: pypa/gh-action-pypi-publish@release/v1
|
63 | 63 | with:
|
64 |
| - packages_dir: ./data-repo-client/dist |
| 64 | + packages_dir: ./data_repo_client/dist |
65 | 65 | skip_existing: true
|
66 | 66 | report-workflow:
|
67 | 67 | uses: broadinstitute/sherlock/.github/workflows/client-report-workflow.yaml@main
|
|
0 commit comments