update the version numbers in the libcurl.plist automaticly on release

Daniel Stenberg 2004-12-08 23:09:46 +00:00
parent 1be1d3cfb8
commit 7b3c308eb0
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g'
# Replace version number in header file:
sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER >$CHEADER.dist
# Replace version number in plist file:
sed "s/7\.12\.3/$libversion/g" $PLIST > $PLIST.dist
echo "curl version $curlversion"
echo "libcurl version $libversion"
echo "libcurl numerical $numeric"