Drone build badge in 1.0.0rc5


#1

I can’t get the drone build badge to show branches. Always seems to show the latest or running branch.

In 0.5 I did this:

/api/badges///status.svg?branch=2.3

but that doesn’t seem to work in 1.0 RC5.

I also tried the:

/api/badges///status.svg?ref=/refs/heads/2.3

I saw in the configuration console. That however just gives me a build none badge for everything


#2

looks like it is prefixed with a slash that should not be there:

-ref=/refs/heads/2.3
+ref=refs/heads/2.3

I verified that removing the begenning slash works.


#3

?branch=refs/pulls/28/head works for SVG ref, but
is there a link to latest build for that ref, to go with the SVG ?


#4

Thanks. I think that did the trick