Skip to content

Commit 8ed2f60

Browse files
authored
3rd attempt to fix release process (#573)
1 parent d01015c commit 8ed2f60

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ docs: FORCE
7171

7272
## clean : clean up all temporary / machine-generated files
7373
clean: FORCE
74-
rm -rf ${MODULE}/__pycache__ ${MODULE}/tests/__pycache__
74+
rm -rf ${MODULE}/__pycache__ ${MODULE}/tests/__pycache__ schema_salad/_version.py
7575
rm -f *.so ${MODULE}/*.so ${MODULE}/tests/*.so ${MODULE}/avro/*.so
7676
python setup.py clean --all || true
7777
rm -Rf .coverage
@@ -182,11 +182,10 @@ release-test: FORCE
182182
./release-test.sh
183183

184184
release:
185-
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_SCHEMA_SALAD=${VERSION}
186-
./release-test.sh
187-
. testenv2/bin/activate && \
188-
python testenv2/src/${PACKAGE}/setup.py sdist bdist_wheel
185+
export SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} && \
186+
./release-test.sh && \
189187
. testenv2/bin/activate && \
188+
python testenv2/src/${PACKAGE}/setup.py sdist bdist_wheel && \
190189
pip install twine && \
191190
twine upload testenv2/src/${PACKAGE}/dist/* && \
192191
git tag ${VERSION} && git push --tags

0 commit comments

Comments
 (0)