continuwuity-bsd/UPDATING.md
2026-07-11 05:46:51 -04:00

1.1 KiB

New releases unfortunately involve a lot of manual labor which I'd like to automate eventually.

Create the vendor package

  1. Download the latest c10y release
  2. cargo vendor > vendor_config.toml
    • This pulls down windows deps too, which could be filtered out (somehow) to substantially reduce the vendor package size
  3. tar cvj vendor -f continuwuity-vendor-26.6.0-alpha.1.tar.bz2
  4. Super secret scp command to copy the package to https://pkg.kat5.dev/distfiles

FreeBSD

  1. make clean
  2. Update DISTVERSION to the new version number
  3. If the MSRV or LLVM versions changed, update BUILD_DEPENDS
  4. export DISTDIR=/tmp/distfiles
  5. make makesum extract
  6. cd work-generic/continuwuity-generic-26.6.0.a.1/continuwuity/.cargo
  7. cp config.toml config.toml.orig
  8. Replace the contents of config.toml with those of vendor_config.toml in the previous section.
  9. cd ../../../..
  10. make makepatch
  11. rm files/patch-continuwuity_*Cargo.toml
    • TODO: makepatch generates a bunch of Cargo.toml patches that we don't need.
  12. make clean
  13. make.