Skip to content

Commit a0bf752

Browse files
committed
breaking: remove deprecated asserts_url attribute
1 parent f1cda3e commit a0bf752

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

github/data_source_github_release.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ func dataSourceGithubRelease() *schema.Resource {
8282
Type: schema.TypeString,
8383
Computed: true,
8484
},
85-
"asserts_url": {
86-
Type: schema.TypeString,
87-
Computed: true,
88-
Deprecated: "use assets_url instead",
89-
},
9085
"upload_url": {
9186
Type: schema.TypeString,
9287
Computed: true,
@@ -231,10 +226,6 @@ func dataSourceGithubReleaseRead(d *schema.ResourceData, meta any) error {
231226
if err != nil {
232227
return err
233228
}
234-
err = d.Set("asserts_url", release.GetAssetsURL()) // Deprecated, original version of assets_url
235-
if err != nil {
236-
return err
237-
}
238229
err = d.Set("upload_url", release.GetUploadURL())
239230
if err != nil {
240231
return err

website/docs/d/release.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ data "github_release" "example" {
6969
* `url` - Base URL of the release
7070
* `html_url` - URL directing to detailed information on the release
7171
* `assets_url` - URL of any associated assets with the release
72-
* `asserts_url` - **Deprecated**: Use `assets_url` resource instead
7372
* `upload_url` - URL that can be used to upload Assets to the release
7473
* `zipball_url` - Download URL of a specific release in `zip` format
7574
* `tarball_url` - Download URL of a specific release in `tar.gz` format

0 commit comments

Comments
 (0)