Skip to content

Commit

Permalink
use txt to pass the variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatz committed Jun 14, 2024
1 parent 00b2170 commit bc2b79c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/package_version_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Pick latest release branch
run: |
release_branches=$(cat release_branches.txt)
latest_branch=$(echo "$release_branches" | sort -t. -k1,1 -k2,2 -Vr | head -n 1)
echo "Latest release branch: $latest_branch"
latest_version=$(echo "$latest_branch" | sed -E 's/release-([0-9]+\.[0-9]+)/\1/' | sed 's/^[ \t]*//')
Expand Down

0 comments on commit bc2b79c

Please sign in to comment.