Browse Source

To make packaging account for subdirectories and to check History.txt for release notes and date.

git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@6 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Bil Kleb 18 years ago
parent
commit
0a3a7f1857
1 changed files with 17 additions and 1 deletions
  1. +17
    -1
      release

+ 17
- 1
release View File

@@ -34,6 +34,22 @@ then
exit 1
fi

if ! grep -q $version History.txt
then
echo "Error: no release notes for '$version' found in History.txt"
grep -H $version History.txt
exit 1
fi

history_date=`date +%Y-%m-%d`

if ! grep -q $history_date History.txt
then
echo "Error: '$history_date' not found in History.txt"
grep -H $history_date History.txt
exit 1
fi

# Refresh sample document

pdflatex sample-handout > refresh-sample.log
@@ -42,7 +58,7 @@ rm -f sample-handout.{aux,log,out} refresh-sample.log
# Make bundle

mkdir -p pkg/$package-$version
cp `cat Manifest.txt` pkg/$package-$version
tar cf - `cat Manifest.txt` | ( cd pkg/$package-$version && tar xf - )
zip -rq pkg/$package-$version.zip pkg/$package-$version

cat << MESSAGE


Loading…
Cancel
Save