[2][chore] Convert to independently publishable system

Update references to allow publishing this as an individual provider.ü
This commit is contained in:
xvlcwk
2024-01-12 13:12:36 +01:00
committed by chris
parent bd6992d6e0
commit 018f9785a3
5 changed files with 8 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ terraform {
required_providers {
bitbucketserver = {
source = "gavinbunney/bitbucketserver"
source = "xvlcwk-terraform/bitbucketserver"
}
}
}
@@ -30,7 +30,7 @@ The following one-liner script will fetch the latest provider version and downlo
```bash
$ mkdir -p ~/.terraform.d/plugins && \
curl -Ls https://api.github.com/repos/gavinbunney/terraform-provider-bitbucketserver/releases/latest \
curl -Ls https://api.github.com/repos/xvlcwk-terraform/terraform-provider-bitbucketserver/releases/latest \
| jq -r ".assets[] | select(.browser_download_url | contains(\"$(uname -s | tr A-Z a-z)\")) | select(.browser_download_url | contains(\"amd64\")) | .browser_download_url" \
| xargs -n 1 curl -Lo ~/.terraform.d/plugins/terraform-provider-bitbucketserver.zip && \
pushd ~/.terraform.d/plugins/ && \
@@ -44,7 +44,7 @@ $ mkdir -p ~/.terraform.d/plugins && \
#### Install manually
If you don't want to use the one-liner above, you can download a binary for your system from the [release page](https://github.com/gavinbunney/terraform-provider-bitbucketserver/releases),
If you don't want to use the one-liner above, you can download a binary for your system from the [release page](https://github.com/xvlcwk-terraform/terraform-provider-bitbucketserver/releases),
then either place it at the root of your Terraform folder or in the Terraform plugin folder on your system.