Skip to content

Commit

Permalink
Fetch tags for buildpack repo in case they are stale
Browse files Browse the repository at this point in the history
  • Loading branch information
thitch97 authored and arjun024 committed Nov 21, 2023
1 parent a9bbe8a commit d3d531f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/get-buildpack-github-release-notes/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ response=$(
changelog=$( echo "$response" | jq -r '.body' | sed '/^Packaged binaries:$/,$d')
release_body_suffix=$(echo "$response" | jq -r '.body' | sed '1,/^Packaged binaries:$/d')

git fetch origin 'refs/tags/*:refs/tags/*'

while IFS= read -r line
do
if [[ $new_version == "${line/v/}" ]]; then
Expand Down

0 comments on commit d3d531f

Please sign in to comment.