]> granicus.if.org Git - curl/commitdiff
update the version numbers in the libcurl.plist automaticly on release
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Dec 2004 23:09:46 +0000 (23:09 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Dec 2004 23:09:46 +0000 (23:09 +0000)
maketgz

diff --git a/maketgz b/maketgz
index 435c0650f7d71bcc792a75888f99214fc81b4d5e..ed415c6dd988841cadbc2de656878a5670706109 100755 (executable)
--- a/maketgz
+++ b/maketgz
@@ -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:
+PLIST=lib/libcurl.plist
+sed "s/7\.12\.3/$libversion/g" $PLIST > $PLIST.dist
+
 echo "curl version $curlversion"
 echo "libcurl version $libversion"
 echo "libcurl numerical $numeric"