Skip to content

Upload catpkg.json as the first asset to reduce "downtime" of latest-release/catpkg download #6

@amis92

Description

@amis92

publish-catpkg/action.ps1

Lines 193 to 197 in 9ac644a

# staged assets prepared for upload
$stagedAssets = Get-ChildItem $stagingPath -Include *.json, *.bsi, *.bsr, *.gstz, *.catz -Recurse -File | Sort-Object -Property Name
# upload assets (delete old ones with the same name first)
$stagedAssets | ForEach-Object {

But also consider whether that wouldn't mean users will get the catpkg but then fail with download of files.


Alternative? Upload previous release's catpkg as the first step, so that while we create and upload other assets, users are redirected to previous release's data.

Then we prioritize upload of everything except catpkg, which would be last and replace the placeholder uploaded at the beginning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions