blob: 0ad18f1064f5338b083e0e5a38745ebff5d653d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# Run when the .tar file is created, updates the .spec file.
dir=`pwd`
rev=${dir##*-}
echo "Updating files to $rev"
sed --in-place 's/^Version: .*$/Version: '"$rev"/ PKG-INFO
sed --in-place 's/^__version__ .*$/__version__ = "'"$rev"'"/' memcache.py
pydoc -w ./memcache.py
rm -f releasescript.auto
|