Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khos2ow committed Jan 20, 2025
1 parent b064852 commit 86865aa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/scripts/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ traverse_package_model() {
# Set the package name and model desc
PACKAGE_NAME="$package"

# # If a package filter was specified, match filter.
# if [[ -n "$PACKAGE_FILTER" && "$PACKAGE_FILTER" != "$PACKAGE_NAME" ]]; then
# continue
# fi
# If a package filter was specified, match filter.
if [[ -n "$PACKAGE_FILTER" && "$PACKAGE_FILTER" != "$PACKAGE_NAME" ]]; then
continue
fi

PACAKGE_SOURCE_URL=$(jq -r ".packages.\"$package\".source" < "$PACKAGE_MODEL_FILE")
PACKAGE_SOURCE_REF=$(jq -r ".packages.\"$package\".ref" < "$PACKAGE_MODEL_FILE")

if [ -n "$ONLY_PACKAGE" ] && [ "$PACKAGE_NAME" != "$ONLY_PACKAGE" ]; then
continue
fi
# if [ -n "$ONLY_PACKAGE" ] && [ "$PACKAGE_NAME" != "$ONLY_PACKAGE" ]; then
# continue
# fi

# Apply functions to package model
handle_package
Expand Down

0 comments on commit 86865aa

Please sign in to comment.