Skip to content

Commit

Permalink
Merge pull request #695 from serokell/PruStephan/fix-bigsur-bug
Browse files Browse the repository at this point in the history
[#539] Load BigSur bottles from release instead of artifacts
  • Loading branch information
pasqu4le authored Sep 25, 2023
2 parents 1107c99 + 0d71ca3 commit 9390638
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .buildkite/pipeline-for-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ steps:
automatic:
limit: 1

# We use the tag that triggered the pipeline here. Normally, this isn't very resilient,
# but in 'scripts/sync-bottle-hashes.sh' it's only used for informational purposes
# We use the tag that triggered the pipeline here.
# However, this requires that the tag and the release name are the same, which
# in practice it's always the case in this repo.
- label: Add Big Sur bottle hashes to formulae
depends_on:
- "build-bottles-big-sur-arm64"
- "build-bottles-big-sur-x86_64"
if: build.tag =~ /^v.*/
soft_fail: true # No artifacts to download if all the bottles are already built
commands:
- mkdir -p "Big Sur"
- buildkite-agent artifact download "*bottle.tar.gz" "Big Sur/"
- nix develop .#buildkite -c gh release download "$BUILDKITE_TAG" -D "Big Sur/" -p "*big_sur.bottle.tar.gz"
- nix develop .#autorelease -c ./scripts/sync-bottle-hashes.sh "$BUILDKITE_TAG" "Big Sur"

0 comments on commit 9390638

Please sign in to comment.