Skip to content

Commit 18da352

Browse files
committed
FreeBSD release notes
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent d725265 commit 18da352

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

contrib/release.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
6. Notify distribution maintainers (See README)
99
7. Do winget release (See below)
1010
8. Do crates.io release (See below)
11+
9. Do freebsd release (See below)
1112

1213
## winget
1314

@@ -49,4 +50,38 @@ Publish
4950
```
5051
cargo publish -p framework_lib
5152
cargo publish -p framework_tool
53+
54+
## FreeBSD
55+
56+
```
57+
# One time
58+
git clone https://github.com/freebsd/freebsd-ports
59+
cd freebsd-ports/sysutils/framework-system
60+
sudo chown -R $(whoami) /var/db/ports
61+
62+
cd sysutils/framework-system
63+
64+
git checkout -b framework-system-v0.5.0
65+
66+
# Edit DISTVERSION=0.5.0 and remove PORTREVISION
67+
nvim sysutils/framework-system/Makefile
68+
69+
# Generate the hash of the package source
70+
make makesum
71+
72+
# Regenerate the dependency information
73+
make cargo-crates > Makefile.crates
74+
75+
# Generate the hash of the package dependencies
76+
make makesum
77+
78+
# Build
79+
make -V BUILD_DEPENDS
80+
make clean
81+
make BATCH=yes build
82+
83+
# Checking if everything is ok
84+
make package
85+
make stage-qa
86+
make check-plist
5287
```

0 commit comments

Comments
 (0)