Skip to content

Commit

Permalink
Merge pull request #332 from koplo199/bottlesdevs-pr
Browse files Browse the repository at this point in the history
fix: Unstable revisions numbering
  • Loading branch information
mirkobrombin authored Apr 27, 2024
2 parents 2215905 + 7b83dd4 commit d21b9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input_files/update_yml_entries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if [ "$newer" -eq 0 ]; then
fi

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

echo "Updated."
echo "UPDATED=true" >> $GITHUB_ENV
echo "UPDATED=true" >> $GITHUB_ENV

0 comments on commit d21b9a3

Please sign in to comment.