Drone

Using the command line - where is the commit sha?

It looks like the commit sha is missing from the command line format options, although I can see it in the rest api. Or am I missing something myself?

which command? for example I can do this:

$ drone build ls octocat/hello-world --format="{{ .After }}"
95624873b8b1c8a735ade658d747010fec04de8c
9c74cc587da18c802049b270d4539118a8a97d93
fbdf837f8cc298fb90d4422ef549870ed5f0ea43
a093990d0b0fd65d442eda60612a0e32ce8ed533
9615570843d9bce794fd14f6f31f7608d564ba01
740c2b469d1ae9919cd9a27d0299bd8ca7633e1d
41ac2992cb2e607028e2eaedfa2e0a8b91dee6bd
c34efc152a250eff6ca69b20c4d8df3a3b1f8a7b
b7737a4a8959da26a4e317a66624cd64e4c07bc6
78547a6a010f144046d2002ed638ae385f61c980
bb527c67da84f7cbbcf23e314f7c40f3a326eed3
058187f1508f9e3356c5912a45c5564dd0c188d6
058187f1508f9e3356c5912a45c5564dd0c188d6
80420c4a61eb55ec77c87da541c63601f7aa26e1
e483fa505ca831c00db7c08b2e949b0a67f4e8ec
27013afe0839f251756ec6a9777ba935beac00fb

All public Go fields can be referenced in the format string. You can use this as a reference: https://github.com/drone/drone-go/blob/master/drone/types.go#L85

Not quite sure how I missed this, but you are right…I have downgraded from 1.1 to 0.8.6 due to compatability issues with the server.