File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,12 +64,12 @@ jobs:
64
64
gem_name=$(echo "$name" | tr -d '"')
65
65
version=$(echo "$versionInfo" | tr -d '"')
66
66
# Check if the version contains a version constraint (e.g., ~>, >=, <=)
67
- if [[ "$gem_version " =~ [\~\>\<\=\ ] ]]; then
68
- echo "Skipping call to rubygems.org for version constraint: $gem_version "
69
- continue # Skip processing for this gem version
67
+ if [[ "$versionInfo " =~ [\~\>\<\=\ ] ]]; then
68
+ echo "Skipping call to rubygems.org for version constraint: $versionInfo "
69
+ continue # Skip processing for this gem versionInfo
70
70
else
71
71
# Proceed with making the call to rubygems.org
72
- echo "Making call to rubygems.org for fixed version: $gem_version "
72
+ echo "Making call to rubygems.org for fixed version: $versionInfo "
73
73
# Your logic to call rubygems.org
74
74
fi
75
75
api_url="https://rubygems.org/api/v2/rubygems/${gem_name}/versions/${version}.json"
You can’t perform that action at this time.
0 commit comments