kafka-ui
kafka-ui copied to clipboard
Display build date instead of full commit hash in version info
- Remove VITE_TAG
- Remove VITE_COMMIT
- fetch info from Spring API
/actuator/info{commit, tag, buildDate: timestamp} - If tag is a version (v0.5.0) fetch latest version from github and compare with tag.
- If tag is a commit we need to display formatted timestamp (
/api/info/timestampformat) - if tag contains
-SNAPSHOT- display formatted timestamp - Keep the short one with the link
{"git":{"commit":{"id":"c8306f5"}},"build":{"artifact":"kafka-ui-api","name":"kafka-ui-api","time":"2022-09-15T02:31:12.047Z","version":"0.0.1-SNAPSHOT","group":"com.provectus"}}
#2583
7th point is unclear
7th point is unclear
a short commit contains a link, let's keep it