diff --git a/internal/client/gitlab.go b/internal/client/gitlab.go index 183f8d0f3..608d19225 100644 --- a/internal/client/gitlab.go +++ b/internal/client/gitlab.go @@ -327,7 +327,6 @@ func (c *gitlabClient) Upload( } gitlabBaseURL := ctx.Config.GitLabURLs.Download - // projectFile.URL from upload: /uploads//filename.txt linkURL := gitlabBaseURL + "/" + projectDetails.PathWithNamespace + projectFile.URL name := artifact.Name filename := "/" + name diff --git a/www/docs/customization/release.md b/www/docs/customization/release.md index e15b16b6b..7139b30f7 100644 --- a/www/docs/customization/release.md +++ b/www/docs/customization/release.md @@ -13,10 +13,10 @@ Let's see what can be customized in the `release` section for GitHub: release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. - # Note: it can only be one: either github, gitlab or gitea - # You can use Gitlab's internal project id by setting it directly or using an environment variable - # owner: "" - # name: "{{.Env.CI_PROJECT_ID}}" + # Valid options are either github, gitlab or gitea + # + # You can also use Gitlab's internal project id by setting it in the name + # field and leaving the owner field empty. github: owner: user name: repo