Skip to content

Conversation

@jmorrell
Copy link
Contributor

@jmorrell jmorrell commented Apr 9, 2019

These metrics were used to gauge difficulty of the run build breaking change: #583 and are no longer useful

Storing them in the metadata so that they get logged out is still useful, so let's keep that.

This also changes the ordering so that it logs out the scripts before they are run, so that if the build fails, the command that failed will also be captured.

meta_set "build-script" "$build"
meta_set "postinstall-script" "$postinstall"
meta_set "heroku-prebuild-script" "$heroku_prebuild"
meta_set "heroku-postbuild-script" "$heroku_prebuild"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ well that explains the oddness I was seeing in the logs the other day

@jmorrell jmorrell merged commit bd06b3a into master Apr 11, 2019
@jmorrell jmorrell deleted the clean-up-script-logging branch April 11, 2019 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants