Skip to content

Commit

Permalink
ci: Debug logging on python wheels job
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Apr 15, 2024
1 parent ef024f2 commit 9299662
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- main
tags:
- '*'
- '**'

jobs:
build-publish:
Expand Down Expand Up @@ -45,6 +45,11 @@ jobs:
- name: Publish to test instance of PyPI (dry-run)
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref_type == 'branch' ) }}
run: |
echo "Doing a dry-run publish to test-pypi..."
echo "Based on the following workflow variables, this is not a hugr-py version tag push:"
echo " - event_name: ${{ github.event_name }}"
echo " - ref_type: ${{ github.ref_type }}"
echo " - ref: ${{ github.ref }}"
cd ${{ matrix.package }}
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{ secrets.PYPI_TEST_PUBLISH }}
Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"package-name": "hugr",
"include-component-in-tag": true,
"draft": false,
"prerelease": true
"prerelease": false
}
},
"changelog-sections": [
Expand Down

0 comments on commit 9299662

Please sign in to comment.