Drone deploy --format ignores params

Hi!

Long story short:

Working:

drone deploy somrepo/server 365 some.env.yay -p DEPLOYTAG=canary-stable-issues289

Working, but parameter isn’t passed:

drone deploy --format "{{ .Number }}" somrepo/server 365 some.env.yay -p DEPLOYTAG=canary-stable-issues289

Hope it helps!

Should i file issue on github?

Not sure I understand the problem here. If you think you have discovered a bug and you would like to see a timely resolution, please consider sending a patch instead of filing an issue. The former is much more helpful and appreciated.

Actually i just wanted the bug to be acknowledged, so anyone stumbling upon it would know that it is reported. In no hurry here.

Hope i’ll boost my skills to send a patch in some foreseeable future.

Tried to reproduce your case, but your --format working just fine: giving back only the build number as it should.