File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,7 @@ set -euo pipefail
55
66case $1 in
77get-version)
8- # Return the actual latest tag to ensure no update is needed
9- # Always use remote lookup for consistency with update-dependency.ps1
10- tags=$( git ls-remote --tags --refs https://github.com/getsentry/github-workflows.git | \
11- sed ' s/.*refs\/tags\///' | \
12- grep -E ' ^v?[0-9.]+$' )
13-
14- # Sort by version number, handling mixed v prefixes
15- latest=$( echo " $tags " | sed ' s/^v//' | sort -V | tail -1)
16-
17- # Check if original had v prefix and restore it
18- if echo " $tags " | grep -q " ^v$latest $" ; then
19- echo " v$latest "
20- else
21- echo " $latest "
22- fi
8+ echo " 3.1.0"
239
2410 # Run actual tests here.
2511 if [[ " $( uname) " != ' Darwin' ]]; then
You can’t perform that action at this time.
0 commit comments