Closed ganeshmurthy closed 3 months ago
Change BUILD_NUMBER calculation from
export BUILD_NUMBER=$((`curl -s https://quay.io/api/v1/repository/skupper/skupper-router/tag/?filter_tag_name=like:${VERSION} | jq .tags[].name | grep -E "\"${VERSION}-[0-9]+\"" | wc -l || echo 0` + 1))
to
export BUILD_NUMBER=$((`curl -s https://quay.io/api/v1/repository/skupper/skupper-router/tag/?filter_tag_name=like:${VERSION} | jq '.tags[] | select(has("end_ts") | not) | .name' | grep -E "\"${VERSION}-[0-9]+\"" | wc -l || echo 0` + 1))
Affected files are -
workflows/image-manual.yml workflows/release-candidate.yml workflows/release-respin.yml workflows/release.yml
Thanks to @fgiorgetti for coming up with the new BUILD_NUMBER
Change BUILD_NUMBER calculation from
to
Affected files are -