From 54b2d0de25be20032f8748d8378276fec545f2e3 Mon Sep 17 00:00:00 2001 From: Manuel Vogel Date: Wed, 14 Aug 2019 15:07:59 +0200 Subject: [PATCH] docs: supported gitlab versions (#1116) * chore: updates to latest gitlab dep version * update gitlab version in bug report template * updates docs for gitlab version on releases * runs mod tidy --- .github/ISSUE_TEMPLATE/Bug_report.md | 1 + go.mod | 2 +- go.sum | 4 ++-- www/content/quick-start.md | 3 +++ www/content/release.md | 3 ++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md index ff4fe2c662c..5a9b41ffb6e 100644 --- a/.github/ISSUE_TEMPLATE/Bug_report.md +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -28,6 +28,7 @@ A clear and concise description of what you expected to happen. - OS: [e.g. mac, linux] - OS version: [uname -a] - GoReleaser Version [goreleaser --version] +- GitLab version (if using a private hosted one) **Additional context** Add any other context about the problem here. Full output log with debug on diff --git a/go.mod b/go.mod index 0e02f1e180a..d414df8febc 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/mitchellh/go-homedir v1.1.0 github.com/pkg/errors v0.8.1 github.com/stretchr/testify v1.3.0 - github.com/xanzy/go-gitlab v0.18.0 + github.com/xanzy/go-gitlab v0.19.0 gocloud.dev v0.15.0 golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a diff --git a/go.sum b/go.sum index a93c39eb1fd..ddc8e48f7dc 100644 --- a/go.sum +++ b/go.sum @@ -183,8 +183,8 @@ github.com/tidwall/pretty v0.0.0-20190325153808-1166b9ac2b65/go.mod h1:XNkn88O1C github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g= github.com/uber/jaeger-client-go v2.15.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v1.5.0/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= -github.com/xanzy/go-gitlab v0.18.0 h1:LybNSWSIw8BK+GnxuETAhUXEzzh5rHsHjopqVkGJXRE= -github.com/xanzy/go-gitlab v0.18.0/go.mod h1:LSfUQ9OPDnwRqulJk2HcWaAiFfCzaknyeGvjQI67MbE= +github.com/xanzy/go-gitlab v0.19.0 h1:WHw/JqUiQ82itbuB4IDS4AgTy8RQ0CBrbfljq65pJCo= +github.com/xanzy/go-gitlab v0.19.0/go.mod h1:LSfUQ9OPDnwRqulJk2HcWaAiFfCzaknyeGvjQI67MbE= github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= go.mongodb.org/mongo-driver v1.0.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= diff --git a/www/content/quick-start.md b/www/content/quick-start.md index 5045266167e..66ae47be3de 100644 --- a/www/content/quick-start.md +++ b/www/content/quick-start.md @@ -96,6 +96,9 @@ The release should also look like this: src="https://user-images.githubusercontent.com/8409778/59390011-55fcdf80-8d70-11e9-840f-c568ddc0e965.png"> +**Note:** Releasing to a private-hosted GitLab CE will only work for version `v11.7+`, because the release feature +was introduced in this [version](https://docs.gitlab.com/ee/user/project/releases/index.html). + ## Dry run If you want to test everything before doing a release "for real", you can diff --git a/www/content/release.md b/www/content/release.md index baf1e49542b..184f7df0b49 100644 --- a/www/content/release.md +++ b/www/content/release.md @@ -41,7 +41,8 @@ release: disable: true ``` -Seconds let's see what can be customized in the `release` section for GitLab: +Second, let's see what can be customized in the `release` section for GitLab. +**Note** that only GitLab `v11.7+` are supported for releases: ```yml # .goreleaser.yml