Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version in version.json for back-ported releases #4527

Open
3 tasks done
sdvcrx opened this issue Dec 8, 2024 · 2 comments
Open
3 tasks done

Bump version in version.json for back-ported releases #4527

sdvcrx opened this issue Dec 8, 2024 · 2 comments
Labels
bug Something isn't working build CI pipeline related

Comments

@sdvcrx
Copy link

sdvcrx commented Dec 8, 2024

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]
@sdvcrx sdvcrx added the bug Something isn't working label Dec 8, 2024
@xoxys xoxys added the cli label Dec 8, 2024
@anbraten
Copy link
Member

anbraten commented Dec 8, 2024

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

@anbraten anbraten changed the title Incorrect Update Notification for woodpecker-cli Version 2.8.0 Bump version in version.json for back-ported releases Dec 8, 2024
@qwerty287
Copy link
Contributor

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]

@qwerty287 qwerty287 added build CI pipeline related and removed cli labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build CI pipeline related
Projects
None yet
Development

No branches or pull requests

4 participants