Skip to content

Commit

Permalink
jenkins-cli: update to 0.0.45
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Dec 26, 2024
1 parent 8f64f4e commit 09b8be7
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions devel/jenkins-cli/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup golang 1.0

go.setup github.com/jenkins-zh/jenkins-cli 0.0.44 v
go.setup github.com/jenkins-zh/jenkins-cli 0.0.45 v
set git_commit 4a589b1
categories devel
license MIT
Expand All @@ -20,9 +20,9 @@ set short jcli
homepage https://${short}.jenkins-zh.cn

checksums ${distname}${extract.suffix} \
rmd160 0a2153716e9d31d4824027a668860b21f650284f \
sha256 1a28cbf9824dccb7775eb3010a577122b1481550487af4c6fbe0022fac07ba76 \
size 221672
rmd160 d0edea8bcd4954a01e51b2766e68d203426cc4f4 \
sha256 ecbd21c5e4a9d2b2948f9d4bd4086f381b221d73eed6b309657dc80d70c1e390 \
size 221980

# Allows for version number, last commit and build date in `jcli version`
# Suppress build date for reproducible builds
Expand Down Expand Up @@ -52,10 +52,15 @@ post-destroot {
}

# bash completion
set bash_completion_dir ${destroot}${prefix}/etc/bash_completion.d
set bash_completion_dir ${destroot}${prefix}/share/bash-completion/completions
xinstall -d ${bash_completion_dir}
system -W ${worksrcpath} "${worksrcpath}/${name} completion --type bash > ${bash_completion_dir}/${short}"

# fish completion
set fish_completion_dir ${destroot}${prefix}/share/fish/vendor_completions.d
xinstall -d ${fish_completion_dir}
system -W ${worksrcpath} "${worksrcpath}/${name} completion --type fish > ${fish_completion_dir}/${short}.fish"

# zsh completion
set zsh_completion_dir ${destroot}${prefix}/share/zsh/site-functions
xinstall -d ${zsh_completion_dir}
Expand Down

0 comments on commit 09b8be7

Please sign in to comment.