We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ac76c commit 635aa34Copy full SHA for 635aa34
1 file changed
.github/workflows/check-codelist-version.yml
@@ -40,8 +40,7 @@ jobs:
40
# Get the full line containing the highest version, then extract the date
41
# Format: "* Mar 2, 2026 - Version 94 of the ENTSO-E Code list is published."
42
line=$(echo "$response" | grep "Version $version " | head -1)
43
- date=$(echo "$line" | grep -oP '[A-Z][a-z]{2}\s+\d{1,2},\s+\d{4} | head -1')
44
- date=$(echo $date | head -1)
+ date=$(echo "$line" | grep -oP '[A-Z][a-z]{2}\s+\d{1,2},\s+\d{4}' | head -1)
45
46
if [ -z "$version" ]; then
47
echo "Failed to extract version number"
0 commit comments