Commit 80a89f4a authored by Jaime Martinez's avatar Jaime Martinez 🔴
Browse files

Merge branch 'remove-external-field-from-release-asset-link-struct' into 'master'

Remove external field from release asset link struct

Closes #166

See merge request gitlab-org/release-cli!161



Merged-by: default avatarJaime Martinez <jmartinez@gitlab.com>
Approved-by: default avatarPedro Pombeiro <noreply@pedro.pombei.ro>
Approved-by: default avatarJaime Martinez <jmartinez@gitlab.com>
Reviewed-by: default avatarPedro Pombeiro <noreply@pedro.pombei.ro>
Co-authored-by: default avatarAhmed Hemdan <ahemdan@gitlab.com>
parents 8977d362 0917f8e4
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ type Link struct {
	ID       int64  `json:"id,omitempty"`
	Name     string `json:"name"`
	URL      string `json:"url"`
	External bool   `json:"external,omitempty"`
	LinkType string `json:"link_type,omitempty"`
	Filepath string `json:"filepath,omitempty"`
}
+0 −1
Original line number Diff line number Diff line
@@ -76,7 +76,6 @@ const CreateReleaseSuccessResponse = `
            "id":3,
            "name":"hoge",
            "url":"https://gitlab.example.com/root/awesome-app/-/tags/v0.11.1/binaries/linux-amd64",
            "external":true,
            "link_type":"other"
         }
      ],
+0 −2
Original line number Diff line number Diff line
@@ -95,7 +95,6 @@ const GetReleaseResponseSuccess = `
            "id":3,
            "name":"hoge",
            "url":"https://gitlab.example.com/root/awesome-app/-/tags/v0.11.1/binaries/linux-amd64",
            "external":true,
            "link_type":"other"
         }
      ]
@@ -206,7 +205,6 @@ const GetReleaseResponseSuccessWithHTML = `
            "id":3,
            "name":"hoge",
            "url":"https://gitlab.example.com/root/awesome-app/-/tags/v0.11.1/binaries/linux-amd64",
            "external":true,
            "link_type":"other"
         }
      ]