From a0bf752c7bc4eb28a6d12c90a4201b7b3a3ba507 Mon Sep 17 00:00:00 2001 From: Angie Pinilla Date: Sat, 6 Dec 2025 11:06:54 -0500 Subject: [PATCH] breaking: remove deprecated asserts_url attribute --- github/data_source_github_release.go | 9 --------- website/docs/d/release.html.markdown | 1 - 2 files changed, 10 deletions(-) diff --git a/github/data_source_github_release.go b/github/data_source_github_release.go index 02f6019daa..8342c0a875 100644 --- a/github/data_source_github_release.go +++ b/github/data_source_github_release.go @@ -82,11 +82,6 @@ func dataSourceGithubRelease() *schema.Resource { Type: schema.TypeString, Computed: true, }, - "asserts_url": { - Type: schema.TypeString, - Computed: true, - Deprecated: "use assets_url instead", - }, "upload_url": { Type: schema.TypeString, Computed: true, @@ -231,10 +226,6 @@ func dataSourceGithubReleaseRead(d *schema.ResourceData, meta any) error { if err != nil { return err } - err = d.Set("asserts_url", release.GetAssetsURL()) // Deprecated, original version of assets_url - if err != nil { - return err - } err = d.Set("upload_url", release.GetUploadURL()) if err != nil { return err diff --git a/website/docs/d/release.html.markdown b/website/docs/d/release.html.markdown index d3e41dc313..1ec040e2e1 100644 --- a/website/docs/d/release.html.markdown +++ b/website/docs/d/release.html.markdown @@ -69,7 +69,6 @@ data "github_release" "example" { * `url` - Base URL of the release * `html_url` - URL directing to detailed information on the release * `assets_url` - URL of any associated assets with the release - * `asserts_url` - **Deprecated**: Use `assets_url` resource instead * `upload_url` - URL that can be used to upload Assets to the release * `zipball_url` - Download URL of a specific release in `zip` format * `tarball_url` - Download URL of a specific release in `tar.gz` format