Skip to content

Commit c00da46

Browse files
feat(goreleaser): Ship FreeBSD binaries (#1048)
* feat(goreleaser): Ship FreeBSD binaries * Add FreeBSD installation instructions --------- Co-authored-by: cgoetz-inovex <carlo.goetz@inovex.de>
1 parent c0f0576 commit c00da46

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.goreleaser.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ builds:
5353
- cmd: sh -c 'go run main.go completion bash > ./dist/completions/stackit.bash'
5454
- cmd: sh -c 'go run main.go completion fish > ./dist/completions/stackit.fish'
5555

56+
- id: freebsd-builds
57+
env:
58+
- CGO_ENABLED=0
59+
goos:
60+
- freebsd
61+
goarch:
62+
- arm64
63+
- amd64
64+
binary: "stackit"
65+
5666
archives:
5767
- id: windows-archives
5868
ids:
@@ -61,6 +71,7 @@ archives:
6171
- ids:
6272
- linux-builds
6373
- macos-builds
74+
- freebsd-builds
6475
formats: [ 'tar.gz' ]
6576
files:
6677
- src: ./dist/completions/*

INSTALLATION.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,24 @@ You can also get the STACKIT CLI by compiling it from source or downloading a pr
215215
go run . <GROUP> <SUB-GROUP> <COMMAND> <ARGUMENT> <FLAGS>
216216
```
217217

218+
### FreeBSD
219+
220+
The STACKIT CLI can be installed through the [FreeBSD ports or packages](https://docs.freebsd.org/en/books/handbook/ports/).
221+
222+
To install the port:
223+
224+
```shell
225+
cd /usr/ports/sysutils/stackit/ && make install clean
226+
```
227+
228+
To add the package, run one of these commands:
229+
230+
```shell
231+
pkg install sysutils/stackit
232+
# OR
233+
pkg install stackit
234+
```
235+
218236
### Pre-compiled binary
219237

220238
1. Download the binary corresponding to your operating system and CPU architecture from our [Releases](https://github.com/stackitcloud/stackit-cli/releases) page

0 commit comments

Comments
 (0)