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:
parent
7f64e38caa
commit
4e1fc4755b
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ if [ -f tmp/pids/server.pid ]; then
|
||||||
rm -f tmp/pids/server.pid
|
rm -f tmp/pids/server.pid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export RELEASE_FOOTPRINT=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||||
|
|
||||||
echo "Running rake app_initializer:setup..."
|
echo "Running rake app_initializer:setup..."
|
||||||
bundle exec rake app_initializer:setup
|
bundle exec rake app_initializer:setup
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue