mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
github: fix the tagname check
This commit is contained in:
parent
b795818540
commit
42909320ac
|
@ -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