Fix publish-artifacts.sh.