diff options
Diffstat (limited to 'maketgz')
-rwxr-xr-x | maketgz | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -9,7 +9,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -22,6 +22,8 @@ # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY # KIND, either express or implied. # +# SPDX-License-Identifier: curl +# ########################################################################### version=$1 @@ -92,10 +94,6 @@ rm -f "$HEADER.bak" sed -i.bak 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER rm -f "$CHEADER.bak" -# Replace version number in plist file: -sed -i.bak "s/7\.12\.3/$libversion/g" $PLIST -rm -f "$PLIST.bak" - if test -n "$only"; then # done! exit; @@ -169,6 +167,12 @@ git log --pretty=fuller --no-color --date=short --decorate=full -1000 | ./script echo "make dist" targz="curl-$version.tar.gz" make -sj dist VERSION=$version +res=$? + +if test "$res" != 0; then + echo "make dist failed" + exit 2 +fi ############################################################################ # |