24 lines
1.1 KiB
Markdown
24 lines
1.1 KiB
Markdown
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
|
|
1. `cargo vendor > vendor_config.toml`
|
|
- This pulls down windows deps too, which could be filtered out (somehow) to substantially reduce the vendor package size
|
|
1. `tar cvj vendor -f continuwuity-vendor-26.6.0-alpha.1.tar.bz2`
|
|
1. Super secret `scp` command to copy the package to https://pkg.kat5.dev/distfiles
|
|
|
|
## FreeBSD
|
|
1. `make clean`
|
|
1. Update `DISTVERSION` to the new version number
|
|
1. If the MSRV or LLVM versions changed, update `BUILD_DEPENDS`
|
|
1. `export DISTDIR=/tmp/distfiles`
|
|
1. `make makesum extract`
|
|
1. `cd work-generic/continuwuity-generic-26.6.0.a.1/continuwuity/.cargo`
|
|
1. `cp config.toml config.toml.orig`
|
|
1. Replace the contents of `config.toml` with those of `vendor_config.toml` in the previous section.
|
|
1. `cd ../../../..`
|
|
1. `make makepatch`
|
|
1. `rm files/patch-continuwuity_*Cargo.toml`
|
|
- TODO: `makepatch` generates a bunch of `Cargo.toml` patches that we don't need.
|
|
1. `make clean`
|
|
1. `make`.
|