Tonterias2 / spingularchatsql6

Chat service created with Jhipster V6.1.0 and PostgreSQL
https://spingular.herokuapp.com
1 stars 5 forks source link

Versioning each deployment #30

Open Tonterias opened 4 years ago

Tonterias commented 4 years ago

I need to have a version number on each commit so if I need to check if the last version is the one deployed at Heroku I just need to look at the version number.

I think we can do it here: {{version}}24/09/19 22:29

/spingularchatsql-6/src/main/webapp/app/layouts/navbar/navbar.component.html

If it is ok with you, I close the issue.

cchunduri commented 4 years ago

@Tonterias, What is the version that you want to display, commit number?

Tonterias commented 4 years ago

Good idea. Yes, if that is simple to do, it can work. I think the commit code is given once it is commited. That might be messy. Something automatic in the homepage will be great. That {{version}} is a constant. If that is changed in the code, we can see the code and we do not need to get into the code in Heroku to know which version is deployed.

Tonterias commented 4 years ago

https://dzone.com/articles/maven-git-commit-id-plugin