Skip to content

Commit 351c092

Browse files
authored
Update .github/workflows/benchmark-release.yml
1 parent 7c2005c commit 351c092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/benchmark-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- name: Get Previous Release
2929
id: previous_release
3030
run: |
31-
# Parse current season and year
32-
[[ $release =~ ^(winter|spring|summer)([0-9]+)$ ]]
31+
# Parse current season and year from branch name
32+
[[ "$GITHUB_REF" =~ ^(winter|spring|summer)([0-9]+)$ ]]
3333
season="${BASH_REMATCH[1]}"
3434
year="${BASH_REMATCH[2]}"
3535

0 commit comments

Comments
 (0)