Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions contrib/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
6. Notify distribution maintainers (See README)
7. Do winget release (See below)
8. Do crates.io release (See below)
9. Do freebsd release (See below)

## winget

Expand Down Expand Up @@ -49,4 +50,38 @@ Publish
```
cargo publish -p framework_lib
cargo publish -p framework_tool

## FreeBSD

```
# One time
git clone https://github.com/freebsd/freebsd-ports
cd freebsd-ports/sysutils/framework-system
sudo chown -R $(whoami) /var/db/ports

cd sysutils/framework-system

git checkout -b framework-system-v0.5.0

# Edit DISTVERSION=0.5.0 and remove PORTREVISION
nvim sysutils/framework-system/Makefile

# Generate the hash of the package source
make makesum

# Regenerate the dependency information
make cargo-crates > Makefile.crates

# Generate the hash of the package dependencies
make makesum

# Build
make -V BUILD_DEPENDS
make clean
make BATCH=yes build

# Checking if everything is ok
make package
make stage-qa
make check-plist
```
Loading