File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 44 release :
55 types : [published]
66
7+ permissions :
8+ contents : read # Required to checkout the code
9+ id-token : write # Required to sign the NPM publishing statements
10+
711jobs :
812 publish-reactpy :
9- if : startsWith(github.event.release.name, 'reactpy ')
13+ if : startsWith(github.event.release.name, 'reactpy ') || startsWith(github.event.release.tag_name, 'reactpy-')
1014 uses : ./.github/workflows/.hatch-run.yml
1115 with :
1216 job-name : " Publish to PyPI"
@@ -16,14 +20,14 @@ jobs:
1620 pypi-password : ${{ secrets.PYPI_PASSWORD }}
1721
1822 publish-reactpy-client :
19- if : startsWith(github.event.release.name, '@reactpy/client ')
23+ if : startsWith(github.event.release.name, '@reactpy/client ') || startsWith(github.event.release.tag_name, '@reactpy/client-')
2024 uses : ./.github/workflows/.hatch-run.yml
2125 with :
2226 job-name : " Publish to NPM"
2327 run-cmd : " hatch run javascript:publish_client"
2428
2529 publish-event-to-object :
26- if : startsWith(github.event.release.name, 'event-to-object ')
30+ if : startsWith(github.event.release.name, 'event-to-object ') || startsWith(github.event.release.tag_name, 'event-to-object-')
2731 uses : ./.github/workflows/.hatch-run.yml
2832 with :
2933 job-name : " Publish to NPM"
Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ Unreleased
6565
6666**Deprecated **
6767
68- -:pull: `1307 ` - ``reactpy.web.export `` is deprecated. Use ``reactpy.reactjs.component_from_* `` instead.
6968-:pull: `1307 ` - ``reactpy.web.module_from_file `` is deprecated. Use ``reactpy.reactjs.component_from_file `` instead.
7069-:pull: `1307 ` - ``reactpy.web.module_from_url `` is deprecated. Use ``reactpy.reactjs.component_from_url `` instead.
7170-:pull: `1307 ` - ``reactpy.web.module_from_string `` is deprecated. Use ``reactpy.reactjs.component_from_string `` instead.
71+ -:pull: `1307 ` - ``reactpy.web.export `` is deprecated. Use ``reactpy.reactjs.component_from_* `` instead.
7272-:pull: `1314 ` - ``reactpy.web.* `` is deprecated. Use ``reactpy.reactjs.* `` instead.
7373
7474**Removed **
You can’t perform that action at this time.
0 commit comments