Skip to content

Commit

Permalink
try install target as some providers have moved
Browse files Browse the repository at this point in the history
  • Loading branch information
yussufsh committed Feb 21, 2023
1 parent 8bd56a6 commit 068a3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build_providers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mkdir -p $REGISTRY_PATH
function clone_build {
git clone -b v$VERSION https://github.com/$PROVIDER_ORG/terraform-provider-$PROVIDER_NAME $GOPATH/src/github.com/$PROVIDER_ORG/terraform-provider-$PROVIDER_NAME
cd $GOPATH/src/github.com/$PROVIDER_ORG/terraform-provider-$PROVIDER_NAME
make build
[[ ! $(make install) ]] && echo "[DEBUG] Cannot run install target, trying build target now..." && make build
mkdir -p $REGISTRY_PATH/$PROVIDER_ORG/$PROVIDER_NAME/$VERSION/linux_ppc64le
mv $GOPATH/bin/terraform-provider-$PROVIDER_NAME $REGISTRY_PATH/$PROVIDER_ORG/$PROVIDER_NAME/$VERSION/linux_ppc64le
}
Expand Down

0 comments on commit 068a3dc

Please sign in to comment.