Skip to content

Commit

Permalink
testing macro expandsion
Browse files Browse the repository at this point in the history
  • Loading branch information
rikenm1 committed Feb 6, 2025
1 parent 1f13f0e commit d2cbc97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check-package-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
name=$(rpmspec --parse "$spec" | grep -E "^Name:\s*(.*)" | awk '{print $2}')
version=$(rpmspec --parse "$spec" | grep -E "^Version:\s*(.*)" | awk '{print $2}')
if [[ "$name" == "fdk-aac-free" || "$name" == "opus" ]]; then
if [[ "$name" == "fdk-aac-free" || "$name" == "redis" ]]; then
previous_version=$(rpmspec --parse <(git show ${{ env.base_sha }}:"$spec") | grep -E "^Version:\s*(.*)" | awk '{print $2}')
if [[ "$version" != "$previous_version" ]]; then
1>&2 echo "**** ERROR ****"
Expand All @@ -75,6 +75,7 @@ jobs:
1>&2 echo "**** ERROR ****"
error_found=1
fi
done
if [[ -n $error_found ]]
Expand Down

0 comments on commit d2cbc97

Please sign in to comment.