diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-05 08:43:54 +0200 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-05 08:44:14 +0200 |
commit | 822e49b34afbc2092ae189091d693ae7867a8e5a (patch) | |
tree | 03ee935b241721d4b645f9ad95d11401e81932ab /internal/sshenv | |
parent | 0d7ef238cb8c05eabaec85e62bec70a40147d1df (diff) | |
download | gitlab-shell-822e49b34afbc2092ae189091d693ae7867a8e5a.tar.gz |
go: Bump major version to v14
While gitlab-shell currently has a major version of v14, the module path
it exposes is not using that major version like it is required by the Go
standard. This makes it impossible for dependents to import gitlab-shell
as a dependency without using a commit as version.
Fix this by changing the module path of gitlab-shell to instead be
`gitlab.com/gitlab-org/gitlab-shell/v14` and adjust all imports
accordingly.
Changelog: fixed
Diffstat (limited to 'internal/sshenv')
-rw-r--r-- | internal/sshenv/sshenv_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sshenv/sshenv_test.go b/internal/sshenv/sshenv_test.go index 43d060a..1ef1c14 100644 --- a/internal/sshenv/sshenv_test.go +++ b/internal/sshenv/sshenv_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitlab-shell/internal/testhelper" + "gitlab.com/gitlab-org/gitlab-shell/v14/internal/testhelper" ) func TestNewFromEnv(t *testing.T) { |