Skip to content

Commit

Permalink
Fix cr script fetch tags (#266)
Browse files Browse the repository at this point in the history
* Fix cr.sh to fetch tags before listing them

Signed-off-by: Jose Vazquez <jose.vazquez@mongodb.com>

* Remove traces

---------

Signed-off-by: Jose Vazquez <jose.vazquez@mongodb.com>
  • Loading branch information
josvazg authored Oct 26, 2023
1 parent 0b8a008 commit f441643
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/releaser/cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ release_charts_inside_folders() {
local folders=("$@")
local changed_charts=()

echo "fetch remote tags..."
git fetch --tags > /dev/null 2>&1

# form list of folder which was changed
for folder in "${folders[@]}"; do
[[ ! -f "$charts_dir/$folder/Chart.yaml" ]] && continue
Expand Down

0 comments on commit f441643

Please sign in to comment.