mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Merge pull request #1678 from xiaoyifang/workflow/tag-check-windows
github: fix the tagname check
This commit is contained in:
commit
1fcc73ea5d
|
@ -159,7 +159,7 @@ jobs:
|
|||
${{steps.build_changelog.outputs.changelog}}
|
||||
'@
|
||||
|
||||
$tagExist = gh api --silent "repos/:owner/:repo/git/refs/tags/${{github.ref_name}}"
|
||||
$tagExist = gh api --silent "repos/:owner/:repo/git/refs/tags/${tagName}"
|
||||
if (-not $?) {
|
||||
if ($env:prerelease -eq "true") {
|
||||
gh release create ${tagName} --target ${{github.ref_name}} --notes-file=./change_note.txt --latest=false --prerelease
|
||||
|
|
Loading…
Reference in a new issue