Skip to content

Commit 35be716

Browse files
authored
Fix release workflow (#59)
1 parent 10eb353 commit 35be716

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/_release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,13 @@ jobs:
112112
with:
113113
python-version: ${{ env.PYTHON_VERSION }}
114114

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+
115122
- name: Import published package
116123
shell: bash
117124
env:

.github/workflows/_test_release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ jobs:
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-
echo pkg-name="$(hatch project metadata | jq -r .name)" >> $GITHUB_OUTPUT
61-
echo version="$(hatch version)" >> $GITHUB_OUTPUT
62-
6356
publish:
6457
needs:
6558
- build

0 commit comments

Comments
 (0)