1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-11 11:42:15 +02:00

docs: improve gitlab projectid readme

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos A Becker 2021-06-26 19:46:16 +00:00
parent 92a4afb169
commit afc7d85688
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 4 additions and 5 deletions

View File

@ -327,7 +327,6 @@ func (c *gitlabClient) Upload(
}
gitlabBaseURL := ctx.Config.GitLabURLs.Download
// projectFile.URL from upload: /uploads/<hash>/filename.txt
linkURL := gitlabBaseURL + "/" + projectDetails.PathWithNamespace + projectFile.URL
name := artifact.Name
filename := "/" + name

View File

@ -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