woodpecker-ci / woodpecker

Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
3.95k stars 351 forks source link

`woodpecker-cli --version` returns `version dev` #3027

Closed Moisan closed 6 months ago

Moisan commented 7 months ago

Component

cli

Describe the bug

When installing the CLI for version 2.1.0, woodpecker-cli --version returns version dev. I would expect it to return 2.1.0.

System Info

woodpecker-cli 2.1.0

Additional context

No response

Validations

kemitix commented 7 months ago

Could this be related: image

This is from the docker image: woodpeckerci/woodpecker-server:v2.1.0

qwerty287 commented 7 months ago

No @kemitix, that's a different issue.

qwerty287 commented 7 months ago

@Moisan Can you check this with 2.1.1?

qwerty287 commented 6 months ago

@Moisan I just checked the release assets for 2.1.0 and 2.1.1, but both are correct.

Also, as homebrew has v2.1.1 (https://github.com/Homebrew/homebrew-core/pull/158505) everything seems to work again. I'll close here, comment if not fixed.

Moisan commented 6 months ago

It does work with 2.1.1, thanks!