Skip to content

Commit

Permalink
Add setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun committed Oct 14, 2022
1 parent 73e90b5 commit 1580f0f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.sh
Original file line number Diff line number Diff line change
@@ -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/*

0 comments on commit 1580f0f

Please sign in to comment.