Skip to content

Commit

Permalink
Register knownAsset after creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
jessehouwing committed Jan 22, 2023
1 parent a616b69 commit d0a1eec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion upload-releases.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ foreach ($taskzip in (dir _sxs/*.zip) + (dir .\_download\*.zip))
}
else {
& gh release create --repo jessehouwing/azure-pipelines-tasks-zips --title "m$($version.Minor) - Tasks" --notes-file .\releasenote.template.md "m$($version.Minor)-tasks" $taskzip.FullName
$knownAssets."m$($version.Minor)-tasks" = @()
$knownAssets."m$($version.Minor)-tasks" = @(
@{
name = $taskzip.Name
}
)
}
}

0 comments on commit d0a1eec

Please sign in to comment.