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

Log the version on startup #14

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Log the version on startup #14

merged 1 commit into from
Dec 27, 2023

Conversation

jameskbride
Copy link
Owner

@jameskbride jameskbride commented Dec 27, 2023

Context

Log the local-sns version on startup to make troubleshooting easier.

Changes

  • Log the version on startup.
  • Move the version definition into src/main/resources/application.conf
  • Read the version from application.conf when building the versioned
    jar.
  • Updated the Makefile to dynamically read the jar version when building
    and publishing the Docker image.

Testing and Validation Steps

Screenshot 2023-12-27 at 4 37 01 PM

* Move the version definition into src/main/resources/application.conf
* Read the version from application.conf when building the versioned
  jar.
* Updated the Makefile to dynamically read the jar version when building
  and publishing the image.
@jameskbride jameskbride merged commit 9669c67 into main Dec 27, 2023
1 check passed
@jameskbride jameskbride deleted the display-version-on-startup branch December 27, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant