Skip to content

Commit c06c05f

Browse files
author
Yusuke Oda
authored
fix release.yml (#97)
1 parent 0e11b7b commit c06c05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
python-version: "3.10"
1818
- name: build
1919
run: |
20-
echo "__version__ = \"${GITHUB_REF_NAME:1}\"" > src/latexify/_version.py
21-
python -m pip install --upgrade build
20+
python -m pip install --upgrade build hatch
21+
python -m hatch version "${GITHUB_REF_NAME}"
2222
python -m build
2323
- name: publish
2424
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)