This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 250
250
"datasourceTemplate" : " github-releases" ,
251
251
"extractVersionTemplate" : " ^v(?<version>.+?)$"
252
252
},
253
+ {
254
+ "fileMatch" : [
255
+ " ^tools/bat/manifest.yaml$"
256
+ ],
257
+ "matchStrings" : [
258
+ " version: \" ?(?<currentValue>.*?)\" ?\\ n"
259
+ ],
260
+ "depNameTemplate" : " sharkdp/bat" ,
261
+ "datasourceTemplate" : " github-releases" ,
262
+ "extractVersionTemplate" : " ^v(?<version>.+?)$"
263
+ },
253
264
{
254
265
"fileMatch" : [
255
266
" ^tools/bin/manifest.yaml$"
Original file line number Diff line number Diff line change
1
+ #syntax=docker/dockerfile:1.4.3
2
+
3
+ ARG ref=main
4
+
5
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6
+ WORKDIR /tmp/bat
7
+ ARG name
8
+ ARG version
9
+ RUN <<EOF
10
+ curl --silent --location "https://github.com/sharkdp/bat/releases/download/v${version}/bat-v${version}-x86_64-unknown-linux-gnu.tar.gz" \
11
+ | tar --extract --gzip --strip-components=1 --no-same-owner
12
+ mv bat "${prefix}${target}/bin/"
13
+ mv bat.1 "${prefix}${target}/share/man/man1/"
14
+ mv autocomplete/bat.bash "${prefix}${target}/share/bash-completion/completions/bat"
15
+ mv autocomplete/bat.fish "${prefix}${target}/share/fish/vendor_completions.d/"
16
+ mv autocomplete/bat.zsh "${prefix}${target}/share/zsh/vendor-completions/_bat"
17
+ EOF
Original file line number Diff line number Diff line change
1
+ name : bat
2
+ version : 0.22.1
3
+ check : ${binary} --version | cut -d' ' -f2
4
+ tags :
5
+ - type/cli
6
+ homepage : https://github.com/sharkdp/bat
7
+ description : cat(1) clone with wings
8
+ renovate :
9
+ datasource : github-releases
10
+ package : sharkdp/bat
11
+ extractVersion : ^v(?<version>.+?)$
You can’t perform that action at this time.
0 commit comments