Skip to content

Commit a7d2a33

Browse files
authored
Set pretend version with timesamp before build for den (#178)
1 parent 859514b commit a7d2a33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/medcat-den_main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ jobs:
6868
run: |
6969
pip install -e .
7070
71-
- name: Build package
72-
run: |
73-
python -m build
74-
7571
- name: Set timestamp-based dev version
7672
run: |
7773
TS=$(date -u +"%Y%m%d%H%M%S")
7874
echo "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MEDCAT_DEN=0.2.2.dev${TS}" >> $GITHUB_ENV
7975
76+
- name: Build package
77+
run: |
78+
python -m build
79+
8080
- name: Publish distribution to TestPyPI
8181
uses: pypa/gh-action-pypi-publish@release/v1
8282
with:

0 commit comments

Comments
 (0)