Commit 0f46aaf8 authored by Andrew Gerrand's avatar Andrew Gerrand

version.bash: strip changeset hash from 'hg tags' output

Fixes #1651.

R=rsc
CC=golang-dev
https://golang.org/cl/4300054
parent fbeaa869
......@@ -18,6 +18,7 @@ fi
# Find most recent known release tag.
TAG=$(hg tags |
sed 's/:.*//' |
sort -rn -k2 |
awk -v ver=$VERSION '$2 <= ver && $1~/^(release|weekly)\./ {print $1}' |
sed -n 1p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment