Skip to content

Commit d21b9a3

Browse files
author
Mirko Brombin
authored
Merge pull request #332 from koplo199/bottlesdevs-pr
fix: Unstable revisions numbering
2 parents 2215905 + 7b83dd4 commit d21b9a3

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)