Skip to content

Fails to update if PER arch/os versions are different #151

@zekronium

Description

@zekronium

In some of our test builds, we use build time versioning where we don't sync per arch/os build version, which creates mismatching versions per different OS.

The way the current logic is structured, it picks the latest version first, assuming it has all the right targets, but then fails to find compatible asset

        let target_asset = release
            .asset_for(&target, self.identifier().as_deref())
            .ok_or_else(|| {
                format_err!(Error::Release, "No asset found for target: `{}`", target)
            })?;

I know technically the CI should always match versions, but I see no reason why this sort of usage couldn't be supported aswell.

The proposal is to filter the latest version WHICH has the matching os target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions