mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
update the version numbers in the libcurl.plist automaticly on release
This commit is contained in:
parent
1be1d3cfb8
commit
7b3c308eb0
4
maketgz
4
maketgz
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user