Neil Schemenauer wrote: > * write scripts to generate the final package and also verify its > sanity (e.g. check version numbers, dates, detect files that > should not be included in the release) FWIW, one thing I like to do is compare the list of files in the new release with the list of files in the previous release. It's amazing what can creep in. I've attached the script I use--it's ugly but it works. Shane -------------- next part -------------- #!/bin/sh # This utility compares the directory listing of two tar files. # It detects .gz or .bz2 extensions automatically and acts accordingly. if [ "$1" == "" ] || [ "$2" == "" ]; then echo usage: $0 tarfile1 tarfile2 exit 1 fi f1=`mktemp /tmp/difftar1.XXXXXX` f2=`mktemp /tmp/difftar2.XXXXXX` if echo $1 | grep '\.gz' > /dev/null; then flags='tfz' elif echo $1 | grep '\.bz2' > /dev/null; then flags='tfj' else flags='tf' fi tar $flags $1 | sort > $f1 if echo $2 | grep '\.gz' > /dev/null; then flags='tfz' elif echo $2 | grep '\.bz2' > /dev/null; then flags='tfj' else flags='tf' fi tar $flags $2 | sort > $f2 diff -u $f1 $f2 rm -f $f1 $f2
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4