We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1a33ea commit fed6539Copy full SHA for fed6539
1 file changed
.github/workflows/terraform-module-matrix.yml
@@ -399,6 +399,10 @@ jobs:
399
# get provider version if contains X from terraform registry
400
if [[ "$version" == *"X"* ]]; then
401
for i in $(curl -s https://registry.terraform.io/v1/providers/$provider | jq -r '.versions' | jq 'reverse' | jq '.[]'); do
402
+ if [[ $i =~ "-" ]];
403
+ then
404
+ continue
405
+ fi
406
i=$(echo $i | tr -d '"')
407
declare -a semver
408
semver=($(echo "$version" | tr '.' '\n'))
0 commit comments