Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions build/scripts/post-release.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,22 @@ $content
--title $tag `
--verify-tag `
--notes $notes `
--prerelease
--prerelease `
--draft
}
else
{
gh release create $tag $releaseFiles `
--title $tag `
--verify-tag `
--notes $notes `
--latest
--latest `
--draft
}

# Move the release out of draft once it has been created and all artifacts uploaded
# as immutable releases cannot have assets added to them after they are published.
gh release edit $tag --draft=false
}

Export-ModuleMember -Function CreateRelease
Expand Down