From 212d08c95a2c72206c5b17df845d02fa627e033d Mon Sep 17 00:00:00 2001 From: Kuisong Tong Date: Wed, 21 Feb 2024 19:16:58 -0800 Subject: [PATCH] fix release action (#162) --- .github/workflows/release.yml | 2 +- option.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbfe0c44..eadaaf10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, - ref: "refs/tags/${{ module }}/v${{ steps.query-release-info.outputs.version }}", + ref: "refs/tags/"+module+"/v${{ steps.query-release-info.outputs.version }}", sha: context.sha }) } diff --git a/option.go b/option.go index 2a3720f6..f21996f6 100644 --- a/option.go +++ b/option.go @@ -56,6 +56,7 @@ type ( options Config ) +// ContinueOnError allows watcher continues watching configuration even Config.Load fails to load the loader. func ContinueOnError() LoadOption { return func(options *loadOptions) { options.continueOnError = true