Publish JOD Distribution
To publish your own JOD Distribution is enough to set execution mode to prod
and execute the scripts/publish.sh|ps1
script from JOD Template Commands.
To set the execution mode to prod
you must edit the JCP_ENV
property in the configs/jod_dist_configs.sh|ps1
file from JOD Distribution configs. Then you must set also JCP_ID
and JCP_SECRET
values.
JCP_ID
and JCP_SECRET
values depends on local JCP instance.
JCP_ENV='prod'
, JCP_ID
and JCP_SECRET
values request your own credentials at tech@johnosproject.com.The scripts/publish.sh|ps1
scripts generate compressed archives for your own JOD Distribution. You can distribute them to your friends or users, or publish them on the official JOD Distributions list. To publish your own distribution on that list, please contact us at tech@johnosproject.com.
Generated archives depends on JOD Distribution configs you set for your own distribution:
build/publications/{DEST_ARTIFACT}-{DEST_VER}.tgz // tar.gz format
build/publications/{DEST_ARTIFACT}-{DEST_VER}.zip // zip format