Diff for /embedaddon/iperf/make_release between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2016/10/18 13:28:17 version 1.1.1.2, 2023/09/27 11:14:54
Line 10  tag=`awk '/IPERF_VERSION / { Line 10  tag=`awk '/IPERF_VERSION / {
   print $3 }' src/version.h`    print $3 }' src/version.h`
 fi  fi
   
dirname=`echo $tag $proj | awk '{dirname=`echo "$tag $proj" | awk '{
   gsub(/-ALPHA/, "a", $1);    gsub(/-ALPHA/, "a", $1);
   gsub(/-BETA/, "b", $1);    gsub(/-BETA/, "b", $1);
   gsub(/-RELEASE/, "", $1);    gsub(/-RELEASE/, "", $1);
   print $2"-"$1 }'`    print $2"-"$1 }'`
   
# echo tag $tagecho tag $tag
# echo dirname $dirnameecho dirname $dirname
   
 do_tag ()  do_tag ()
 {  {
    git tag -s -m "tagging $tag" $tag    git tag -s -m "tagging $tag" "$tag"
 }  }
   
 do_tar ()  do_tar ()
 {  {
     tarball=${dirname}.tar.gz      tarball=${dirname}.tar.gz
    rm -f ${tarball}    rm -f "${tarball}"
    git archive --format=tar --prefix ${dirname}/ ${tag} | gzip -9 > ${tarball}    git archive --format=tar --prefix "${dirname}/" "${tag}" | gzip -9 > "${tarball}"
   
     # Compute SHA256 hash      # Compute SHA256 hash
     case `uname -s` in      case `uname -s` in
Line 37  do_tar () Line 37  do_tar ()
         Darwin) sha="shasum -a 256" ;;          Darwin) sha="shasum -a 256" ;;
         *) sha=echo ;;          *) sha=echo ;;
     esac      esac
    ${sha} ${tarball} | tee ${tarball}.sha256    ${sha} "${tarball}" | tee "${tarball}.sha256"
 }  }
   
 usage ()  usage ()

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>