http://imagej.273.s1.nabble.com/ImageJ-release-cycle-tp5003165p5003231.html
badge wasn't created for 1.47t6. Unfortunately, I have no way testing
the groovy script directly. The same line runs OK in java, I must have
overlooked something. I hope you can fix it.
Jerome.
> Hi Jerome,
>
> On Tue, 4 Jun 2013, Johannes Schindelin wrote:
>
>> On Tue, 4 Jun 2013, Jerome Mutterer wrote:
>>
>> > >... I also worked quite a bit on making the version more visible (see
>> > >
https://github.com/imagej/ij1-installer/blob/master/add-jenkins-badge.groovy)
>> > >in the build list. It worked beautifully:
>> > >
>> > >
http://jenkins.imagej.net/job/ImageJ1-releases/>> >
>> > I would suggest that the final release get a green badge, and the
>> > daily build get a yellow badge.
>> >
>> > I checked and there's a createShortText(java.lang.String text,
>> > java.lang.String color, java.lang.String background, java.lang.String
>> > border, java.lang.String borderColor)
>> >
>> > method that could be used to do that depending on 'version' format
>> > instead of
>> >
>> > action = clazz.createShortText(version)
>> >
>> > by checking if 'version' ends with a letter or a number.
>>
>> Can you make a patch? That would be awesome.
>
> Thank you, I merged your pull request as soon as I saw it!
>
> Ciao,
> Johannes