Set the writeReadme to run when publish is run rather than on compile.