It is not possible to re-package a previously built package, e.g:
ops pkg from-pkg eyberg/java_21.0.4 -c config.json --name mypkg --version 0.0.1
then running again:
ops pkg from-pkg eyberg/java_21.0.4 -c config.json --name mypkg --version 0.0.1
fails with "permission denied", can't delete the previously dir generated at .ops/local_packages/ as the dir is read only.
(also, the doc at https://docs.ops.city/ops/packages is outdated as -n and -v short flags doesn't work, should be --name and --version)
It is not possible to re-package a previously built package, e.g:
ops pkg from-pkg eyberg/java_21.0.4 -c config.json --name mypkg --version 0.0.1
then running again:
ops pkg from-pkg eyberg/java_21.0.4 -c config.json --name mypkg --version 0.0.1
fails with "permission denied", can't delete the previously dir generated at .ops/local_packages/ as the dir is read only.
(also, the doc at https://docs.ops.city/ops/packages is outdated as -n and -v short flags doesn't work, should be --name and --version)