Skip to content

Commit

Permalink
Change from pr-version to pr_version on requirement check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Apr 22, 2024
1 parent 2c24383 commit 271ae75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/requirement-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
run: |
while read line; do
pkg=${line%==*}
pr-version=${line#*==}
pr_version=${line#*==}
rpm_version=$(rpmspec -q --queryformat='%{version}' packages/python-$pkg/python-$pkg.spec --srpm)
rpmdev-vercmp $rpm_version $pr-version
rpmdev-vercmp $rpm_version $pr_version
exit_code=$?
if [ 12 -eq $exit_code ];
then
echo "RPM for Package $pkg needs to be updated from $rpm_version to pr-version"
echo "RPM for Package $pkg needs to be updated from $rpm_version to $pr_version"
fi
if [ 0 -eq $exit_code ];
Expand Down

0 comments on commit 271ae75

Please sign in to comment.