diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index 27288e383..a810c8850 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -6,7 +6,7 @@ on: branches: - main tags: - - '*' + - '**' jobs: build-publish: @@ -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 }} diff --git a/release-please-config.json b/release-please-config.json index c54b074b4..2165dc175 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -11,7 +11,7 @@ "package-name": "hugr", "include-component-in-tag": true, "draft": false, - "prerelease": true + "prerelease": false } }, "changelog-sections": [