chore(ci): print yq version (#3345)
This commit is contained in:
@@ -33,6 +33,7 @@ sync_tag() {
|
|||||||
echo "Updating home of ${chartname}..."
|
echo "Updating home of ${chartname}..."
|
||||||
sed -i -e "s|home: .*|home: https:\/\/truecharts.org\/docs\/charts\/${train}\/${chartname}|" "${chart}/Chart.yaml"
|
sed -i -e "s|home: .*|home: https:\/\/truecharts.org\/docs\/charts\/${train}\/${chartname}|" "${chart}/Chart.yaml"
|
||||||
echo "Updating sources of ${chartname}..."
|
echo "Updating sources of ${chartname}..."
|
||||||
|
yq -V
|
||||||
# Get all sources (except truecharts)
|
# Get all sources (except truecharts)
|
||||||
curr_sources=$(yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml")
|
curr_sources=$(yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml")
|
||||||
echo "${chartname}: $curr_sources"
|
echo "${chartname}: $curr_sources"
|
||||||
|
|||||||
@@ -302,6 +302,7 @@ sync_tag() {
|
|||||||
echo "Updating home of ${chartname}..."
|
echo "Updating home of ${chartname}..."
|
||||||
sed -i -e "s|home: .*|home: https:\/\/truecharts.org\/docs\/charts\/${train}\/${chartname}|" "${chart}/Chart.yaml"
|
sed -i -e "s|home: .*|home: https:\/\/truecharts.org\/docs\/charts\/${train}\/${chartname}|" "${chart}/Chart.yaml"
|
||||||
echo "Updating sources of ${chartname}..."
|
echo "Updating sources of ${chartname}..."
|
||||||
|
yq -V
|
||||||
# Get all sources (except truecharts)
|
# Get all sources (except truecharts)
|
||||||
curr_sources=$(yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml")
|
curr_sources=$(yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml")
|
||||||
echo "${chartname}: $curr_sources"
|
echo "${chartname}: $curr_sources"
|
||||||
|
|||||||
Reference in New Issue
Block a user