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

Print version command #8

Open
Pirayya opened this issue Jan 29, 2021 · 2 comments
Open

Print version command #8

Pirayya opened this issue Jan 29, 2021 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@Pirayya
Copy link
Collaborator

Pirayya commented Jan 29, 2021

When we deploy a new version for the bot it would be nice to see what version is actually deployed (since Azure is stupid)

Add a version command that shows:

  • Print release version
  • Print commit hash
@Pirayya Pirayya added this to the version 1.1.0 milestone Jan 29, 2021
@Pirayya Pirayya added the enhancement New feature or request label Jan 29, 2021
@kazie kazie added the good first issue Good for newcomers label Nov 2, 2021
@kazie
Copy link
Collaborator

kazie commented Nov 2, 2021

One easy way to solve this is to use vergen.
https://docs.rs/vergen/ where typically VERGEN_GIT_SEMVER could be used to get the version and the commit.
Then add said information to a command or the like. :)

@Pirayya
Copy link
Collaborator Author

Pirayya commented Nov 3, 2021

Sounds really nice @kazie, will check later!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants