Skip to content
Snippets Groups Projects
Commit 73865b9e authored by azrdev's avatar azrdev Committed by Pierre Smeyers
Browse files

fix: generated (YAML) configuration syntax error when using JSON input config

Due to a recent change in YQ (v4.44.2): the default output format (when not explicit) is the same as input format.
parent 433a86f5
No related branches found
No related tags found
No related merge requests found
...@@ -686,7 +686,7 @@ stages: ...@@ -686,7 +686,7 @@ stages:
releaserc_file="${semrelConfigFile}" releaserc_file="${semrelConfigFile}"
rm -f "package.json" rm -f "package.json"
yq eval -P 'with_entries(select((.key | . != "plugins") and (.key | . != "verifyConditions")))' "${releaserc_file}" > "${releaserc_file}.new" yq eval -oyaml -P 'with_entries(select((.key | . != "plugins") and (.key | . != "verifyConditions")))' "${releaserc_file}" > "${releaserc_file}.new"
# Generating the hook scripts that will generate the dotenv file # Generating the hook scripts that will generate the dotenv file
# The dotenv file is generated in $TMPDIR so it will survive the git reset # The dotenv file is generated in $TMPDIR so it will survive the git reset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment