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

[Bug]: Version number mismatch between downloaded deb package and installed #1137

Closed
acbekoac opened this issue Mar 27, 2024 · 4 comments
Closed
Assignees
Labels
bug needs triage Waiting for discussion / prioritization by team
Milestone

Comments

@acbekoac
Copy link

acbekoac commented Mar 27, 2024

Steps to Reproduce

adjust the version number within the deb Package

Your Environment

  • OS -Debian 11
  • step CLI Version - 0.25.2

Expected Behavior

The version number shown during "dpki -i" should match the one in the name of the deb package

Actual Behavior

sudo dpkg -i /tmp/step-ca_amd64_0.25.3-rc3.deb
(Lese Datenbank ... 34685 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../step-ca_amd64_0.25.3-rc3.deb ...
Entpacken von step-ca (0.25.2) über (0.25.2) ...
step-ca (0.25.2) wird eingerichtet ...

sudo dpkg -i /tmp/step-cli_amd64_0.25.3-rc3.deb
(Lese Datenbank ... 34685 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../step-cli_amd64_0.25.3-rc3.deb ...
Entpacken von step-cli (0.25.2) über (0.25.2) ...
step-cli (0.25.2) wird eingerichtet ...

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@acbekoac acbekoac added bug needs triage Waiting for discussion / prioritization by team labels Mar 27, 2024
@hslatman
Copy link
Member

hslatman commented Mar 27, 2024

Hey @acbekoac,

It's possible the mismatch happens due to the -rc3 suffix. The version should be set automatically based on the git tag, and it does seem to do that at least for the binary. We'll cut the v0.26.0 soon, so I'm curious if it'll be set correctly for that.

@hslatman
Copy link
Member

hslatman commented Apr 8, 2024

Hey @acbekoac, we've released https://github.com/smallstep/cli/releases/tag/v0.26.0 last week. Are you seeing the correct tag now?

@acbekoac
Copy link
Author

acbekoac commented Apr 8, 2024

Hi,

I can see the correct version now - see my script debug below

./check_for_newer_smallstep_version.sh

Issue seems fixed, so case can be closed

thx

@hslatman
Copy link
Member

hslatman commented Apr 9, 2024

Great, thank you for your report, @acbekoac 🙂 Feel free to reopen in case it happens again.

@hslatman hslatman closed this as completed Apr 9, 2024
@hslatman hslatman self-assigned this Apr 9, 2024
@hslatman hslatman added this to the v0.26.1 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

No branches or pull requests

2 participants