-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
High Level Python SDK: Release Official Version (#7140)
- Loading branch information
Showing
5 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,22 +10,11 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Python Build and Make Package | ||
run: make package-python-wrapper | ||
|
||
- name: Publish Distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
packages-dir: clients/python-wrapper/dist/ | ||
verbose: true | ||
|
||
- name: Extract docs version | ||
working-directory: ./clients/python-wrapper/ | ||
shell: bash | ||
run: | | ||
echo "tag=$(python setup.py --version)" >> $GITHUB_OUTPUT | ||
echo "tag=$(python setup.py --version)" >> $GITHUB_OUTPUT | ||
id: docver | ||
|
||
- name: Set up Python 3.9 | ||
|
@@ -34,7 +23,7 @@ jobs: | |
python-version: '3.9' | ||
cache: 'pip' | ||
cache-dependency-path: 'clients/python-wrapper/requirements.txt' | ||
|
||
- name: Generate and Build Documentation | ||
run: | | ||
pip install -r clients/python-wrapper/requirements.txt | ||
|
@@ -50,3 +39,15 @@ jobs: | |
destination_folder: / | ||
user_email: '[email protected]' | ||
user_name: 'python-docs-action' | ||
|
||
- name: Python Build and Make Package | ||
run: make package-python-wrapper | ||
|
||
- name: Publish Distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
packages-dir: clients/python-wrapper/dist/ | ||
verbose: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
## v0.1.0 | ||
What's new: | ||
- First official release! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters