Skip to content

Commit

Permalink
fix release script (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktong authored Feb 8, 2024
1 parent 348050e commit 82ece44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: "v${{ steps.query-release-info.outputs.version }}",
target_commitish: context.sha
name: "v${{ steps.query-release-info.outputs.version }}"
target_commitish: context.sha,
name: "v${{ steps.query-release-info.outputs.version }}",
body: "${{ steps.query-release-info.outputs.release-notes }}"
})
11 changes: 1 addition & 10 deletions provider/file/watch_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) 2024 The konf authors
// Use of this source code is governed by a MIT license found in the LICENSE file.

//go:build !race

package file_test

import (
Expand All @@ -25,13 +23,6 @@ func TestFile_Watch(t *testing.T) {
action func(string) error
expected map[string]any
}{
{
description: "create",
action: func(path string) error {
return os.WriteFile(path, []byte(`{"p": {"k": "v"}}`), 0o600)
},
expected: map[string]any{"p": map[string]any{"k": "v"}},
},
{
description: "write",
action: func(path string) error {
Expand Down Expand Up @@ -69,7 +60,7 @@ func TestFile_Watch(t *testing.T) {
assert.NoError(t, err)
}()

time.Sleep(time.Millisecond)
time.Sleep(100 * time.Millisecond)
assert.NoError(t, testcase.action(tmpFile))
waitGroup.Wait()
assert.Equal(t, testcase.expected, values)
Expand Down

0 comments on commit 82ece44

Please sign in to comment.