Skip to content

Commit 9c73850

Browse files
authored
release: really fix setting the version (#566)
1 parent bc4a202 commit 9c73850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,14 @@ release-test: FORCE
188188
./release-test.sh
189189

190190
release:
191-
git tag ${VERSION}
191+
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_SCHEMA_SALAD=${VERSION}
192192
./release-test.sh
193193
. testenv2/bin/activate && \
194194
python testenv2/src/${PACKAGE}/setup.py sdist bdist_wheel
195195
. testenv2/bin/activate && \
196196
pip install twine && \
197197
twine upload testenv2/src/${PACKAGE}/dist/* && \
198-
git push --tags
198+
git tag ${VERSION} && git push --tags
199199

200200
flake8: $(PYSOURCES)
201201
flake8 $^

0 commit comments

Comments
 (0)