Skip to content

Commit f5af1a9

Browse files
package name
1 parent e30d393 commit f5af1a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_and_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
id: check_version
3636
run: |
3737
VERSION=${{ needs.extract-tag.outputs.version }}
38-
PACKAGE_NAME="dspy-ai-test"
38+
PACKAGE_NAME="dspy-test-chenmoney"
3939
echo "Checking if $VERSION for $PACKAGE_NAME exists on TestPyPI"
4040
NEW_VERSION=$(python3 .github/workflows/build_utils/test_version.py $PACKAGE_NAME $VERSION)
4141
echo "Version to be used for TestPyPI release: $NEW_VERSION"
4242
echo "::set-output name=version::$NEW_VERSION"
4343
- name: Update version in pyproject.toml
4444
run: sed -i '/#replace_package_version_marker/{n;s/version="[^"]*"/version="${{ steps.check_version.outputs.version }}"/;}' pyproject.toml
4545
- name: Update package name in pyproject.toml
46-
run: sed -i '/#replace_package_name_marker/{n;s/name="[^"]*"/name="dspy-ai-test"/;}' pyproject.toml
46+
run: sed -i '/#replace_package_name_marker/{n;s/name="[^"]*"/name="dspy-test-chenmoney"/;}' pyproject.toml
4747
- name: Build a binary wheel
4848
run: python3 -m build
4949
# Test the locally built wheel
@@ -54,7 +54,7 @@ jobs:
5454
source test_before_testpypi/bin/activate
5555
# Install the locally built wheel and testing dependencies
5656
pip install dist/*.whl pytest
57-
python -c "import dspy; print(dspy.__version__)"
57+
pytest tests/metadata/test_metadata.py tests/predict
5858
deactivate
5959
# Publish to test-PyPI
6060
- name: Publish distribution 📦 to test-PyPI

0 commit comments

Comments
 (0)