diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8e0f1aeb4..6a407f534 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,9 +4,13 @@ on: release: types: [published] +permissions: + contents: read # Required to checkout the code + id-token: write # Required to sign the NPM publishing statements + jobs: publish-reactpy: - if: startsWith(github.event.release.name, 'reactpy ') + if: startsWith(github.event.release.name, 'reactpy ') || startsWith(github.event.release.tag_name, 'reactpy-') uses: ./.github/workflows/.hatch-run.yml with: job-name: "Publish to PyPI" @@ -16,14 +20,14 @@ jobs: pypi-password: ${{ secrets.PYPI_PASSWORD }} publish-reactpy-client: - if: startsWith(github.event.release.name, '@reactpy/client ') + if: startsWith(github.event.release.name, '@reactpy/client ') || startsWith(github.event.release.tag_name, '@reactpy/client-') uses: ./.github/workflows/.hatch-run.yml with: job-name: "Publish to NPM" run-cmd: "hatch run javascript:publish_client" publish-event-to-object: - if: startsWith(github.event.release.name, 'event-to-object ') + if: startsWith(github.event.release.name, 'event-to-object ') || startsWith(github.event.release.tag_name, 'event-to-object-') uses: ./.github/workflows/.hatch-run.yml with: job-name: "Publish to NPM" diff --git a/docs/source/about/changelog.rst b/docs/source/about/changelog.rst index f48c2dd20..578400cac 100644 --- a/docs/source/about/changelog.rst +++ b/docs/source/about/changelog.rst @@ -65,10 +65,10 @@ Unreleased **Deprecated** --:pull:`1307` - ``reactpy.web.export`` is deprecated. Use ``reactpy.reactjs.component_from_*`` instead. -:pull:`1307` - ``reactpy.web.module_from_file`` is deprecated. Use ``reactpy.reactjs.component_from_file`` instead. -:pull:`1307` - ``reactpy.web.module_from_url`` is deprecated. Use ``reactpy.reactjs.component_from_url`` instead. -:pull:`1307` - ``reactpy.web.module_from_string`` is deprecated. Use ``reactpy.reactjs.component_from_string`` instead. +-:pull:`1307` - ``reactpy.web.export`` is deprecated. Use ``reactpy.reactjs.component_from_*`` instead. -:pull:`1314` - ``reactpy.web.*`` is deprecated. Use ``reactpy.reactjs.*`` instead. **Removed**