Declare DD_VERSION in prerun.sh 2nd try (#13258)

This commit is contained in:
Mac Siri 2021-04-05 17:10:46 -04:00 committed by GitHub
parent 236a2ba64f
commit 77a3901998
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,9 +8,9 @@ if [ "$DYNOTYPE" == "run" ]; then
# more info here: https://docs.honeycomb.io/getting-data-in/ruby/beeline/#using-env-variables-to-control-framework-integrations
export HONEYCOMB_DISABLE_AUTOCONFIGURE="true"
export HONEYCOMB_INTEGRATIONS=rails,rake,active_support
# Set app version based on HEROKU_SLUG_COMMIT
if [ -n "$HEROKU_SLUG_COMMIT" ]; then
DD_VERSION=$HEROKU_SLUG_COMMIT
fi
fi
# Set app version based on HEROKU_SLUG_COMMIT
if [ -n "$HEROKU_SLUG_COMMIT" ]; then
DD_VERSION=$HEROKU_SLUG_COMMIT
fi