Skip to content

feat: migrate forc-crypto nightly builds to forc monorepo#79

Merged
JoshuaBatty merged 2 commits into
masterfrom
josh/forc-crypto
Dec 8, 2025
Merged

feat: migrate forc-crypto nightly builds to forc monorepo#79
JoshuaBatty merged 2 commits into
masterfrom
josh/forc-crypto

Conversation

@JoshuaBatty

Copy link
Copy Markdown
Member

Summary

forc-crypto moved from FuelLabs/sway to FuelLabs/forc as of v0.71.0 (see FuelLabs/forc#119). This PR updates nightly builds to source it from the new location.

Also removes the deprecated forc-explorer workflow which no longer works.

Changes

  • Add nightly-forc-monorepo-release.yml: Unified workflow for all binaries from the forc monorepo (currently forc-wallet and forc-crypto). Designed for maintainability - binaries are defined once in a BINARIES env var, and everything else is derived via loops. Adding a new workspace member only requires changing one line.
  • Remove nightly-forc-wallet-release.yml: Consolidated into the unified workflow above
  • Remove nightly-forc-explorer-release.yml: Deprecated and no longer functional
  • Update nightly-forc-release.yml: Remove forc-crypto from the binary list (no longer in sway repo)
  • Update create-release.yml: Use new unified workflow, remove forc-explorer references

forc-crypto moved from FuelLabs/sway to FuelLabs/forc as of v0.71.0.
This PR updates nightly builds to source it from the new location.

Changes:
- Add nightly-forc-monorepo-release.yml: unified workflow for all
  binaries from the forc monorepo (currently forc-wallet and forc-crypto)
- Remove nightly-forc-wallet-release.yml (consolidated into above)
- Remove forc-crypto from nightly-forc-release.yml (no longer in sway)
- Update create-release.yml to use the new unified workflow

The new workflow is designed for maintainability - binaries are defined
once in an env var (BINARIES), and everything else is derived from that
list via loops. Adding a new workspace member only requires changing one
line.
@cursor

cursor Bot commented Dec 8, 2025

Copy link
Copy Markdown

PR Summary

Adds a unified monorepo workflow for forc-wallet and forc-crypto, removes the deprecated explorer workflow, updates orchestration, and excludes forc-crypto from sway releases.

  • CI/CD (nightlies):
    • New unified monorepo workflow /.github/workflows/nightly-forc-monorepo-release.yml:
      • Builds forc-wallet and forc-crypto across Linux/macOS targets using BINARIES list, bumps versions with nightly metadata, strips, packages, and uploads per-binary archives.
      • Derives versions from tags and exposes a versions_json for artifact naming.
    • Orchestration updates in /.github/workflows/create-release.yml:
      • Replaces explorer/wallet jobs with release-forc-monorepo and updates the final status gate to check it.
    • Removal: deletes /.github/workflows/nightly-forc-explorer-release.yml.
    • Forc (sway) release tweak /.github/workflows/nightly-forc-release.yml:
      • Removes forc-crypto from the packaged binaries list.

Written by Cursor Bugbot for commit 9cea456. This will update automatically on new commits. Configure here.

@JoshuaBatty JoshuaBatty self-assigned this Dec 8, 2025
Comment thread .github/workflows/nightly-forc-monorepo-release.yml
Also fix multiline env var for softprops/action-gh-release.
@JoshuaBatty JoshuaBatty merged commit 02ea08a into master Dec 8, 2025
5 checks passed
@JoshuaBatty JoshuaBatty deleted the josh/forc-crypto branch December 8, 2025 08:50
JoshuaBatty added a commit to FuelLabs/fuel.nix that referenced this pull request Dec 8, 2025
## Summary

- forc-crypto migrated from `FuelLabs/sway` to `FuelLabs/forc` monorepo
at v0.71.0
- Add version-based repository routing using the same
`legacy_repo`/`legacy_before` pattern established for forc-wallet in
#204
- Add `buildAndTestSubdir` patch for forc-crypto when built from forc
monorepo

## Changes

**refresh-manifests.sh:**
- Versions < 0.71.0: fetch from sway repo with `v{version}` tags
- Versions >= 0.71.0: fetch from forc monorepo with
`forc-crypto-{version}` tags

**patches.nix:**
- Add patch setting `buildAndTestSubdir = "forc-crypto"` when built from
forc monorepo

**packages.md:**
- Update forc-crypto documentation to reference forc repo

## Context

- forc-crypto migration PR: FuelLabs/forc#119
- forc-crypto v0.71.0 release:
https://github.com/FuelLabs/forc/releases/tag/forc-crypto-0.71.0
- sway-nightly-binaries update:
FuelLabs/sway-nightly-binaries#79

---------

Co-authored-by: GitHub Action <action@github.com>
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

Successfully merging this pull request may close these issues.

2 participants