11 lines
228 B
Bash
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
|