mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 02:29:33 +08:00
Metadata: Move and rename genversions.go
and genversions_test.go
(#60315)
* Move and rename genversions.go and tests * Fix lint - bring back cli.Exit * Move package.json and fix tests * Add necessary env vars for promote event
This commit is contained in:

committed by
GitHub

parent
edb86d4bf3
commit
f73cdc5e80
@ -32,6 +32,8 @@ func mockGithubRepositoryClient(context.Context, string) githubRepositoryService
|
||||
|
||||
func TestPublishGithub(t *testing.T) {
|
||||
t.Setenv("DRONE_BUILD_EVENT", "promote")
|
||||
t.Setenv("DRONE_TAG", "v1.0.0")
|
||||
t.Setenv("DRONE_COMMIT", "abcdefgh")
|
||||
testApp, testPath := setupPublishGithubTests(t)
|
||||
mockErrUnauthorized := errors.New("401")
|
||||
|
||||
|
Reference in New Issue
Block a user