Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
0f46aaf8
Commit
0f46aaf8
authored
Apr 04, 2011
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version.bash: strip changeset hash from 'hg tags' output
Fixes #1651. R=rsc CC=golang-dev
https://golang.org/cl/4300054
parent
fbeaa869
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
version.bash
src/version.bash
+1
-0
No files found.
src/version.bash
View file @
0f46aaf8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment