Path of a script that gets executed after conversion, and before upload, when running with the
--publish
option.The script arguments are:
- the publish output directory.That directory is guaranteed to exist when
prepublish
is called.Forgit
-based publish targets, all files are almost ready in there, just waiting for agit add .
that followsprepublish
.This means that you can use this script to place or remove files from the final publish output.
If the
prepublish
script returns with a non-zero exit value, the publish is aborted.