The build script is doing this:
curl -s -G http://jira.codehaus.org/rest/api/latest/project/GEOS/versions |
tr "{" "\n" | grep "\"$tag\"" | tr "," "\n" | grep "\"id\"" | sed 's/"id":
*"\([0-9]\+\).*/\1/g'
That's grabbing a bunch of JSON and then "parsing" it by turning each
object into a line, and then finding lines which match the release tag
treated as a regexp, and then finds the JIRA id for the release in a
similar way.
Release 2.5.3 has a JIRA ID of 20515 which just happens to match the
regular expression 2.5.5 So it produces 2 IDs which then breaks everything.
`grep -F` stops treating it as a regular expression and just matches the
string. That's still not parsing the JSON properly and it could still
break quite easily, but it stops this particular problem.
--
Kevin Smith
Software Engineer | Boundless <http://boundlessgeo.com/>
[email protected]
+1-778-785-7459
@boundlessgeo <http://twitter.com/boundlessgeo/>
<http://twitter.com/boundlessgeo/>
[image: http://boundlessgeo.com/]
<http://boundlessgeo.com/>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel