File: make_tarball.sh

package info (click to toggle)
drobo-utils 0.6.1+repack-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,000 kB
  • ctags: 172
  • sloc: python: 1,705; sh: 229; makefile: 65
file content (7 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/bash
version=$(python setup.py --version)
mkdir ../drobo-utils-$version
cp -a * ../drobo-utils-$version
cd ..
tar zcf drobo-utils_$version.orig.tar.gz --exclude debian --exclude .git --exclude *.pyc --exclude build* drobo-utils-$version
rm -rf drobo-utils-$version