Skip to content

Commit 60d5eb5

Browse files
mr-cAnton Khodak
authored andcommitted
add release target
1 parent 4bf741f commit 60d5eb5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,18 @@ mypy3: ${PYSOURCES}
175175
--warn-redundant-casts \
176176
cwltool
177177

178+
release: FORCE
179+
./release-test.sh
180+
. testenv2/bin/activate && \
181+
testenv2/src/${MODULE}/setup.py sdist bdist_wheel && \
182+
pip install twine && \
183+
twine upload testenv2/src/${MODULE}/dist/* && \
184+
git tag ${VERSION} && git push --tags
185+
178186
FORCE:
187+
188+
# Use this to print the value of a Makefile variable
189+
# Example `make print-VERSION`
190+
# From https://www.cmcrossroads.com/article/printing-value-makefile-variable
191+
print-% : ; @echo $* = $($*)
192+

0 commit comments

Comments
 (0)