blob: 90973614b27a9f86b83e892190c6b0e89bf23f64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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
rm -f releasescript.auto
|