Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make the commit id available as an environment variable #1336
Would it be possible to include the commit id that the server built as an environment variable or app config?
Currently it's possible to find out the deployment system but not any further details of it. We'd like to be able to display on a page which version the site is running on. I understand it wouldn't be relevant for all source systems / scenarios, but I think it's useful for those that it is relevant for.
I suspect 2. is easier, though technically. it makes assumptions about the Kudu file structures that theoretically could change (but probably won't).