Skip to content

Commit 09043e9

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

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Changelog
22

3-
## 3.1.0
3+
## Unreleased
4+
5+
### Dependencies
6+
7+
- Bump Workflow args test script from latest to v3.1.0 ([#135](https://github.com/getsentry/github-workflows/pull/135))
8+
- [changelog](https://github.com/getsentry/github-workflows/blob/main/CHANGELOG.md#310)
9+
- [diff](https://github.com/getsentry/github-workflows/compare/latest...3.1.0)
10+
11+
## 2.14.0
412

513
### Features
614

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)