ADD: support for heinzelwerk CI/CD chain
Some checks failed
buildbot/tox Build done.
buildbot/django-dav-events-install Build done.

This commit is contained in:
2020-04-23 12:24:21 +02:00
parent 105e227580
commit 69a8b0c003
8 changed files with 73 additions and 0 deletions

22
.buildbot/dist/01-sdist.sh vendored Normal file
View File

@@ -0,0 +1,22 @@
if test -z "$DIST_FORMAT" ; then
DIST_FORMAT="gztar"
fi
python setup.py sdist --dist-dir . --formats "$DIST_FORMAT"
if test -n "$DIST_FILE" ; then
dist_name=`python setup.py --name`
dist_version=`python setup.py --version`
case "$DIST_FORMAT" in
gztar)
dist_suffix=".tar.gz"
;;
*)
dist_suffix=".${DIST_FORMAT}"
;;
esac
produced_file="${dist_name}-${dist_version}${dist_suffix}"
if test "$produced_file" != "$DIST_FILE" ; then
mv "$produced_file" "$DIST_FILE"
fi
fi