CarnegieLearningWeb / UpGrade

Framework for adding A/B testing to education applications
https://www.upgradeplatform.org/
BSD 3-Clause "New" or "Revised" License
26 stars 13 forks source link

Update Version display in UI #307

Open danoswaltCL opened 2 years ago

danoswaltCL commented 2 years ago

Dev branch will always show 1.0.0, so for the developer it will be good to know the hash of the last commit also from the 'version' api and display here also.

Something like so:

image

JayMehta11 commented 4 months ago

We tried the approaches:

Despite these efforts, as the .git folder is not typically uploaded during hosting on AWS, finding and tracing the commit hash to dynamically update environment variables before each build presents challenges. Furthermore, the complexity of manually updating new variables on AWS Elastic Beanstalk and the lack of feasibility for manual additions make this approach unsuitable. One possible approach is we can append commitHash in zip file name or in the aws_secret_key. cc- @amurphy-cl and @danoswaltCL