Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rikenm1 committed Feb 6, 2025
1 parent 099116c commit 4a1623d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-package-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
if [[ "$name" == "fdk-aac-free" || "$name" == "redis" ]]; then
# if the spec is a new addition, we want previous version to be empty
previous_version=$(git show ${{ env.base_sha }}:"$spec" 2>/dev/null | rpmspec --parse - | grep -E "^Version:\s*(.*)" | awk '{print $2}')
echo "Previous version: $previous_version"
if [[ "$version" != "$previous_version" ]]; then
1>&2 echo "**** ERROR ****"
1>&2 echo "Spec '$spec' change is not allowed in Azure Linux."
Expand All @@ -66,7 +67,6 @@ jobs:
fi
fi
if { [[ "$name" == "redis" && "$(printf '%s\n' "$version" "7.4" | sort -V | head -n1)" == "7.4" ]] || \
[[ "$name" == "packer" && "$(printf '%s\n' "$version" "1.10.0" | sort -V | head -n1)" == "1.10.0" ]] || \
[[ "$name" == "terraform" && "$(printf '%s\n' "$version" "1.6.0" | sort -V | head -n1)" == "1.6.0" ]]; }; then
Expand Down

0 comments on commit 4a1623d

Please sign in to comment.