woodpecker-ci/woodpecker

Bump version in `version.json` for back-ported releases

Opened this issue · 2 comments

Component

cli

Describe the bug

I have encountered a bug related to the version update notification when using the woodpecker-cli.
Despite using the latest version 2.8.0 , the CLI incorrectly suggests updating to 2.7.3 : A new version of woodpecker-cli is available: 2.7.3

Steps to reproduce

  1. Download and install woodpecker-cli 2.8.0
  2. Run:
$ woodpecker-cli lint .woodpecker.yml
✅ Config is valid
WRN A new version of woodpecker-cli is available: 2.7.3. Update by running: woodpecker-cli update

$ woodpecker-cli -v
woodpecker-cli version 2.8.0

Expected behavior

The update notification should not appear

System Info

woodpecker-cli `2.8.0`

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

I've manually bumped the version for now woodpecker-ci/woodpecker-ci.github.io@73248c0 until we find a permanent fix for this.

That's actually weird. The JSON is updated, but the deploy step is not executed: https://ci.woodpecker-ci.org/repos/3780/pipeline/23351/30

However, it should get executed:

- event: [manual, tag]