adsms/build.sh
2023-05-08 11:03:50 -07:00

11 lines
228 B
Bash

#!/bin/sh
rm -rf dist/*
python3 -m build
cd dist/
tar zxf *.tar.gz
directory=$(ls | grep -v .tar.gz | grep -v whl)
rm $directory.tar.gz
cp --recursive ../debian/ $directory
tar czf $directory.tar.gz $directory
rm -r $directory