mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-22 16:31:28 +02:00
ci(release): bootstrap pkg before installing FreeBSD port deps
The FreeBSD 15.0 VM image used by vmactions/freebsd-vm@v1 ships a pkg binary that fails to parse the current pkg.freebsd.org metadata, with: pkg: truncated reply for signature_fingerprintsoutput, wanted 0 bytes pkg: Repository FreeBSD-ports cannot be opened. This breaks 'pkg install', failing every release run since 2026-04-24. Run 'pkg bootstrap -f' + 'pkg update -f' first to refresh pkg and the catalogue before installing build deps.
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -59,6 +59,10 @@ jobs:
|
||||
copyback: false
|
||||
release: "15.0"
|
||||
prepare: |
|
||||
# Refresh pkg to handle metadata format changes on FreeBSD 15.0
|
||||
env ASSUME_ALWAYS_YES=yes pkg bootstrap -f
|
||||
pkg update -f
|
||||
|
||||
# Install required packages
|
||||
pkg install -y git curl portlint go
|
||||
|
||||
|
||||
Reference in New Issue
Block a user