Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-wlj authored Sep 3, 2023
1 parent 7a23afb commit 5233405
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
$jxxghp_version=$response.object.sha
echo $jxxghp_version
if ($newArray -contains $jxxghp_version) {
$response2 = Invoke-WebRequest -Uri https://api.github.com/repos/developer-wlj/MoviePilot/releases/latest | ConvertFrom-Json
$response2 = Invoke-WebRequest -Uri https://api.github.com/repos/developer-wlj/Windows-MoviePilot/releases/latest | ConvertFrom-Json
# 提取tag_name的值
$tagName = $response2.tag_name.Substring(0, 7)
$tagName = $response2.tag_name
echo $tagName
if ($tagName -eq $jxxghp_version){
if ($tagName -contains $jxxghp_version){
Write-Output "版本相同,无需更新"
exit 1
} else {
Expand Down

0 comments on commit 5233405

Please sign in to comment.