File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 6969 id : check-version
7070 shell : bash
7171 run : |
72- echo pkg-name="$(hatch project metadata | jq -r .name)" >> $GITHUB_OUTPUT
73- echo version="$(hatch version)" >> $GITHUB_OUTPUT
72+ set -eu
73+ echo pkg-name="$(uvx hatch project metadata | jq -r .name)" >> $GITHUB_OUTPUT
74+ echo version="$(uvx hatch version)" >> $GITHUB_OUTPUT
7475
7576 test-pypi-publish :
7677 needs :
@@ -112,13 +113,6 @@ jobs:
112113 with :
113114 python-version : ${{ env.PYTHON_VERSION }}
114115
115- - name : Check Version
116- id : check-version
117- shell : bash
118- run : |
119- echo pkg-name="$(uvx hatch project metadata | jq -r .name)" >> $GITHUB_OUTPUT
120- echo version="$(uvx hatch version)" >> $GITHUB_OUTPUT
121-
122116 - name : Import published package
123117 shell : bash
124118 env :
Original file line number Diff line number Diff line change 5353 name : test-dist
5454 path : ${{ inputs.working-directory }}/dist/
5555
56+ - name : Check Version
57+ id : check-version
58+ shell : bash
59+ run : |
60+ set -eu
61+ echo pkg-name="$(uvx hatch project metadata | jq -r .name)" >> $GITHUB_OUTPUT
62+ echo version="$(uvx hatch version)" >> $GITHUB_OUTPUT
63+
5664 publish :
5765 needs :
5866 - build
You can’t perform that action at this time.
0 commit comments