Skip to content

Commit

Permalink
chore: bump version 0.2.7 -> 0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Angie Song committed Mar 22, 2024
1 parent 088ff14 commit fa28970
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"mockAcceptance": true,
"providerGoModuleName": "abbey/v2",
"providerName": "abbey",
"providerVersion": "0.2.7",
"providerVersion": "0.2.8",
"githubRepoName": "terraform-provider-abbey"
}
},
Expand Down Expand Up @@ -78,7 +78,7 @@
},
"providerGoModuleName": "abbey/v2",
"providerName": "abbey",
"providerVersion": "0.2.7",
"providerVersion": "0.2.8",
"mockAcceptance": true,
"hideComputedDiff": false
},
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# abbey Terraform Provider 0.2.7
# abbey Terraform Provider 0.2.8

The public Abbey API. Used for integrating with Abbey and building interfaces to extend the Abbey platform. See https://docs.abbey.io for more information.
This repository contains a Terraform provider that allows you to manage resources through the abbey API.
Expand Down Expand Up @@ -40,11 +40,11 @@ go build -o terraform-provider-abbey
5. Move the provider to your plugins directory:

```bash
mkdir -p ~/.terraform.d/plugins/example.com/user/abbey/0.2.7/<distribution>
mv terraform-provider-abbey ~/.terraform.d/plugins/example.com/user/abbey/0.2.7/<distribution>
mkdir -p ~/.terraform.d/plugins/example.com/user/abbey/0.2.8/<distribution>
mv terraform-provider-abbey ~/.terraform.d/plugins/example.com/user/abbey/0.2.8/<distribution>
```

Note: The directory structure is important. The provider must be located at `~/.terraform.d/plugins/example.com/user/abbey/0.2.7/<distribution>/terraform-provider-abbey`
Note: The directory structure is important. The provider must be located at `~/.terraform.d/plugins/example.com/user/abbey/0.2.8/<distribution>/terraform-provider-abbey`
Also please change `example.com/user` and `<distribution>` to match your real values.
To get the <distribution> run `terraform version`, possible values: `linux_amd64`, `darwin_arm64`, `windows_amd64`, etc.

Expand Down Expand Up @@ -120,7 +120,7 @@ make acceptance-test
1. Tag your release:

```bash
git tag v0.2.7
git tag v0.2.8
git push --tags
```

Expand Down
2 changes: 1 addition & 1 deletion examples/provider/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
abbey = {
source = "hashicorp.com/edu/abbey"
version = "0.2.7"
version = "0.2.8"
}
}
}
Expand Down
5 changes: 4 additions & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ import (
var _ provider.Provider = &Provider{}

type Provider struct {
// version is set to the provider version on release, "dev" when the
// provider is built and ran locally, and "test" when running acceptance
// testing.
version string
}

Expand All @@ -32,7 +35,7 @@ type abbeyProviderModel struct {

func (p *Provider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse) {
resp.TypeName = "abbey"
resp.Version = "0.2.7"
resp.Version = p.version
}

func (p *Provider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) {
Expand Down

0 comments on commit fa28970

Please sign in to comment.