You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion from @jimhester: Try git log --pretty='%h %s' HEAD | cut -c-60. If you never use bash string interpolation you don't need to worry about quoting.
My approach to making the
DEPLOY_MSG
in.travis.yml
is not robust to quotes inside the commit message.https://github.com/rstudio-education/stat545/blob/master/.travis.yml#L19
If the truncation to first
n
characters happens to catch, say, an opening"
but not the closing, it can cause problems:Happened with 46a81ad
Notice the cryptic error in the deploy stage:
https://travis-ci.org/rstudio-education/stat545/builds/589671690#L900-L903
Caused by unfortunate truncating of this commit message:
The text was updated successfully, but these errors were encountered: