1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

This commit is contained in:
Daniel Stenberg 2004-12-08 23:09:46 +00:00
parent 1be1d3cfb8
commit 7b3c308eb0

View File

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