Export RELEASE_FOOTPRINT on container start. (#9987)

RELEASE_FOOTPRINT will be set to the output of date -u +'%Y-%m-%dT%H:%M:%SZ'
(2020-08-25T02:02:21Z for example) which will fix https://github.com/forem/forem/pull/9904

This will be reset to a new date and time string every time the container starts.
This commit is contained in:
Joe Doss 2020-08-25 10:06:53 -05:00 committed by GitHub
parent 7f64e38caa
commit 4e1fc4755b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,8 @@ if [ -f tmp/pids/server.pid ]; then
rm -f tmp/pids/server.pid
fi
export RELEASE_FOOTPRINT=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo "Running rake app_initializer:setup..."
bundle exec rake app_initializer:setup