Excuse me whilst I plug my own article https://talltips.novate.co.uk/laravel/versioning-your-laravel-project
Feb 1, 2021
2
Level 1
Release Stamp using Envoyer
Hello, i am wondering if there is any suggested method on visible stamping the current release with the date / sha.
I ended up doing the following. In my footer.blade.php i added a string !!release-string!! and replace this with a deployment hook with the desired values.
cd {{ release }}
sed -i 's/!!release-string!!/({{sha}}-{{time}})/' resources/views/footer.blade.php
Is this a good idea? Or is there a better or blueprint solution doing this?
Best regards, Alex
Level 122
Please or to participate in this conversation.