draft
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | VERSION=$(grep AC_INIT configure.ac | cut -f 2 -d , | tr -d ")" | tr -d " ") |
| 6 | echo "Going to draft version: $VERSION" |
| 7 | echo "Press enter to continue:" |
| 8 | read enter |
| 9 | autoconf |
| 10 | |
| 11 | git archive --format=tar --prefix=at-$VERSION/ --output=../at_$VERSION.orig.tar HEAD |
| 12 | gzip -v9 ../at_$VERSION.orig.tar |
| 13 |