zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.28k stars 279 forks source link

Add git commit or detect git commit or tag etc. #1282

Open jankapunkt opened 2 years ago

jankapunkt commented 2 years ago

Is there a way to detect the commit or tag of the build used for a current running deployment? If not, could this be leveraged through a plugin or hooks?

zodern commented 2 years ago

Mup 1.6 will be versioning the builds (version 1, version 2, etc.) instead of using current/previous. Would that work for you? It might help if you explain what you are wanting to use the tag/commit for.

chmelevskij commented 2 years ago

What would be the usecase? Since meteor already provides Meteor.gitCommitHash in the running app.