Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use specific version instead of latest #19

Open
chris-rock opened this issue Aug 7, 2023 · 0 comments
Open

use specific version instead of latest #19

chris-rock opened this issue Aug 7, 2023 · 0 comments
Assignees

Comments

@chris-rock
Copy link
Member

chris-rock commented Aug 7, 2023

Describe the bug

Releases can fail when latest is not updated, as seen with release 8.22.0

cnspec 8.21.3 is already installed but outdated (so it will be upgraded).
==> Fetching dependencies for mondoohq/mondoo/cnspec: mondoohq/mondoo/cnquery
==> Fetching mondoohq/mondoo/cnquery
==> Downloading https://releases.mondoo.com/cnquery/8.22.0/cnquery_8.22.0_darwin_arm64.tar.gz
##################################################################################################################################################################################################### 100.0%
Error: cnspec: SHA256 mismatch
Expected: 0173db4652d6f0d3bae0f56237b06897d02bd9ffb76a25297e6d7adb4271406a
  Actual: faf5f15e1a200b2e8fb70fc951e599f61babf2e6df7d6cc7fda19463833fbfd6
    File: /Users/chris/Library/Caches/Homebrew/downloads/c34126baa1ecb6a92fba64400543d733385ad8e55a1cdc821620132ddd3a0d60--cnquery_8.22.0_darwin_arm64.tar.gz

To Reproduce

timing-issue during release

Expected behavior

We need to use the specific version number in https://github.com/mondoohq/homebrew-mondoo/blob/master/generator/main.go#L21-L41 and use install.mondoo.com

@benr benr self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants