From 255f5e3b79bb359d8ba7bfce5de2488cb5d9a87d Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 18 Aug 2025 15:51:02 -0300 Subject: [PATCH] ci: fix termux dirs closes #793 Signed-off-by: Carlos Alexandro Becker --- .goreleaser.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 58a7adb6cd0023158cd4e7b15717bb982a1f4a71..bf6e7c7faeb9a01a1299fccbceefceefb595aeda 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -210,13 +210,13 @@ nfpms: file_name_template: "{{ .ConventionalFileName }}" contents: - src: ./completions/crush.bash - dst: /etc/bash_completion.d/crush + dst: '{{ if eq .Format "termux.deb" }}/data/data/com.termux/files{{ end }}/etc/bash_completion.d/crush' - src: ./completions/crush.fish - dst: /usr/share/fish/vendor_completions.d/crush.fish + dst: '{{ if eq .Format "termux.deb" }}/data/data/com.termux/files{{ end }}/usr/share/fish/vendor_completions.d/crush.fish' - src: ./completions/crush.zsh - dst: /usr/share/zsh/site-functions/_crush + dst: '{{ if eq .Format "termux.deb" }}/data/data/com.termux/files{{ end }}/usr/share/zsh/site-functions/_crush' - src: ./manpages/crush.1.gz - dst: /usr/share/man/man1/crush.1.gz + dst: '{{ if eq .Format "termux.deb" }}/data/data/com.termux/files{{ end }}/usr/share/man/man1/crush.1.gz' rpm: signature: key_file: '{{ if ne (index .Env "GPG_KEY_PATH") "" }}{{ .Env.GPG_KEY_PATH }}{{ else }}{{ end }}'