mirror of
https://github.com/bitnami/containers.git
synced 2026-03-12 14:57:54 +08:00
Quote everything inside stdout/contents except regexp (#51956)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
committed by
GitHub
parent
07e88872ac
commit
775d7a7e0e
@@ -6,7 +6,7 @@ command:
|
||||
exec: sed -nE "s/.wp_version\s*=\s*'([0-9\.]+)';/\1/p" /opt/bitnami/wordpress/wp-includes/version.php | sed -E 's/^[0-9]+\.[0-9]+$/&.0/'
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- {{ .Env.APP_VERSION }}
|
||||
- "{{ .Env.APP_VERSION }}"
|
||||
# WP-CLI points to correct binaries and config file
|
||||
check-wp-cli-conf:
|
||||
exec: wp --info
|
||||
|
||||
Reference in New Issue
Block a user