Distillery (issue) is unable to archive a Phoenix app using graphql because some of the graphql .beam files' names exceed the 100 character limited imposed by erl_tar (source).
I was able to get Distillery working with this change.
I'm happy to submit it as a pull request if it is the correct fix.