From: Sergey Matveev Date: Thu, 3 Oct 2019 10:56:30 +0000 (+0300) Subject: Work with v-prefixed versions X-Git-Tag: v4.2.0~12 X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=commitdiff_plain;h=124a11069e1ed7b617a740341d90d6a269bdd41b Work with v-prefixed versions --- diff --git a/makedist.sh b/makedist.sh index 2fbbc35..18ccc41 100755 --- a/makedist.sh +++ b/makedist.sh @@ -7,7 +7,7 @@ release=$1 git clone . $tmp/gogost-$release cd $tmp/gogost-$release -git checkout $release +git checkout v$release mod_name=$(sed -n 's/^module //p' go.mod) crypto_mod_path=$(sed -n 's#^require \(golang.org/x/crypto\) \(.*\)$#\1@\2#p' go.mod)