elastic / fleet-server

The Fleet server allows managing a fleet of Elastic Agents.
Other
11 stars 81 forks source link

[Fleet] Add version flag #4141

Closed nchaulet closed 1 day ago

nchaulet commented 1 day ago

Description

Add version flag to standalone command, pass version to cobra, that will handle the --version flag

Examples

Screenshot 2024-11-21 at 4 12 51 PM Screenshot 2024-11-21 at 4 13 14 PM
mergify[bot] commented 1 day ago

This pull request does not have a backport label. Could you fix it @nchaulet? 🙏 To fixup this pull request, you need to add the backport labels for the needed branches, such as:

mergify[bot] commented 1 day ago

backport-8.x has been added to help with the transition to the new branch 8.x. If you don't need it please use backport-skip label and remove the backport-8.x label.

cmacknz commented 1 day ago
make local
❯ ./bin/fleet-server --version
fleet-server version 9.0.0

It works!

elastic-sonarqube[bot] commented 1 day ago

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube