diff --git a/.goreleaser-staging.yaml b/.goreleaser-staging.yaml index 1639aca9b..2a36644dc 100644 --- a/.goreleaser-staging.yaml +++ b/.goreleaser-staging.yaml @@ -10,6 +10,11 @@ version: 2 #@ "linux": ["amd64"], #@ }, #@ } + +before: + hooks: + - make man + changelog: sort: asc use: github @@ -76,6 +81,46 @@ nfpms: contents: - src: scripts/kraftld dst: /usr/local/bin/kraftld + - src: ./docs/man/ + dst: /usr/local/share/man/man1/ + +brews: + - name: kraftkit-staging + ids: +#@ for arch in binaries["kraft"]["linux"]: + - #@ "archive-kraft-linux-{}".format(arch) +#@ end +#@ for arch in binaries["kraft"]["darwin"]: + - #@ "archive-kraft-darwin-{}".format(arch) +#@ end + url_template: "https://github.com/unikraft/kraftkit/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + commit_author: + name: Unikraft Bot + email: monkey@unikraft.io + commit_msg_template: "Bump {{ .ProjectName }} to version {{ .Tag }}" + homepage: "https://kraftkit.sh" + description: "Build and use highly customized and ultra-lightweight unikernels." + license: "BSD-3-Clause" + skip_upload: false + dependencies: + - name: gnu-sed + - name: make + - name: coreutils + - name: m4 + - name: gawk + - name: grep + - name: wget + - name: qemu + - name: socat + - name: x86_64-elf-binutils + - name: x86_64-elf-gcc + - name: aarch64-elf-binutils + - name: aarch64-elf-gcc + repository: + owner: unikraft + name: homebrew-cli + extra_install: |- + man1.install Dir["man/*"] builds: #@ for bin, oses in binaries.items(): @@ -120,6 +165,10 @@ archives: strip_parent: true info: mode: 0755 + - src: "docs/man/*.1.gz" + dst: man + info: + mode: 0644 #@ end #@ end