Skip to content

Commit 7b83dd4

Browse files
authored
fix: Unstable revisions numbering
1 parent 069d731 commit 7b83dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

input_files/update_yml_entries.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if [ "$newer" -eq 0 ]; then
8484
fi
8585

8686
if [ "$channel" = "unstable" ] && [ "$latest_channel" = "unstable" ]; then
87-
if [[ $latest =~ .*-([[:digit:]])-[[:alnum:]]{7} ]]; then
87+
if [[ $latest =~ .*-([[:digit:]]+)-[[:alnum:]]{7} ]]; then
8888
revision="${BASH_REMATCH[1]}"
8989
commit_sha=${component_name: -7}
9090
((revision=$revision+1))
@@ -100,4 +100,4 @@ else
100100
fi
101101

102102
echo "Updated."
103-
echo "UPDATED=true" >> $GITHUB_ENV
103+
echo "UPDATED=true" >> $GITHUB_ENV

0 commit comments

Comments
 (0)