File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1616- id : validate-config-in-container
1717 name : Validate package config
1818 description : Check for missing values and incorrect types
19- entry : quay.io/packit/packit:latest packit -d validate- config
19+ entry : quay.io/packit/packit:latest packit -d config validate
2020 language : docker_image
2121 files : ^\.?packit.ya?ml$
Original file line number Diff line number Diff line change 33set -eu
44
55if command -v packit; then
6- packit -d validate-config
6+ if packit config validate --help > /dev/null 2>&1 ; then
7+ packit -d config validate
8+ else
9+ packit -d validate-config
10+ fi
711else
812 echo " packit not installed, can't validate the config"
913 echo " either install packit or try the validate-config-in-container hook"
You can’t perform that action at this time.
0 commit comments