Skip to content

Commit 53f4a86

Browse files
web-flowgithub-actions[bot]
authored andcommitted
chore: update updater/tests/workflow-args.sh to 3.1.0
1 parent df41e0d commit 53f4a86

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

updater/tests/workflow-args.sh

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,7 @@ set -euo pipefail
55

66
case $1 in
77
get-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

0 commit comments

Comments
 (0)