From 1580f0f49c90c95e5609b473ef3a4e01b8b3cfb6 Mon Sep 17 00:00:00 2001 From: Tal Ben-Nun Date: Fri, 14 Oct 2022 19:05:41 +0200 Subject: [PATCH] Add setup script --- .github/workflows/release.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 .github/workflows/release.sh diff --git a/.github/workflows/release.sh b/.github/workflows/release.sh new file mode 100755 index 0000000000..df97482e1d --- /dev/null +++ b/.github/workflows/release.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +# Install dependencies +pip install --upgrade twine + +# Synchronize submodules +git submodule update --init --recursive + +# Erase old distribution, if exists +rm -rf dist dace.egg-info + +# Make tarball +python -m build --sdist + +# Upload to PyPI +twine upload dist/* +