We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15046b9 commit 6e4c8fdCopy full SHA for 6e4c8fd
hack/update-supported-versions.sh
@@ -28,7 +28,7 @@ for _ in {1..3}; do
28
if [ "$argocd_minor_version_num" -eq 0 ]; then
29
argocd_major_version_num=$((argocd_major_version_num - 1))
30
# Get the latest minor version in the previous series.
31
- argocd_minor_version_num=$(git branch -l "release-$argocd_major_version_num.*" | sort -V | tail -n 1 | sed -E 's/release-[0-9]+\.//')
+ argocd_minor_version_num=$(git tag -l "v$argocd_major_version_num.*" | sort -V | tail -n 1 | sed -E 's/\.[0-9]+$//' | sed -E 's/^v[0-9]+\.//')
32
33
# Don't decrement the minor version, since we're switching to the previous major release series. We want the latest
34
# minor version in that series.
0 commit comments