Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit a9b9c08

Browse files
committed
Added xq #4299
1 parent 1e91408 commit a9b9c08

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3933,6 +3933,17 @@
39333933
"datasourceTemplate": "github-tags",
39343934
"extractVersionTemplate": "^v(?<version>.+?)$"
39353935
},
3936+
{
3937+
"fileMatch": [
3938+
"^tools/xq/manifest.yaml$"
3939+
],
3940+
"matchStrings": [
3941+
"version: \"?(?<currentValue>.*?)\"?\\n"
3942+
],
3943+
"depNameTemplate": "sibprogrammer/xq",
3944+
"datasourceTemplate": "github-releases",
3945+
"extractVersionTemplate": "^v(?<version>.+?)$"
3946+
},
39363947
{
39373948
"fileMatch": [
39383949
"^tools/yasu/manifest.yaml$"

tools/xq/Dockerfile.template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://github.com/sibprogrammer/xq/releases/download/v${version}/xq_${version}_linux_${alt_arch}.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner \
11+
xq
12+
EOF

tools/xq/manifest.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: xq
2+
version: "1.1.1"
3+
check: ${binary} --version | cut -d' ' -f3
4+
tags:
5+
- category/development
6+
- type/cli
7+
- lang/go
8+
homepage: https://github.com/sibprogrammer/xq
9+
description: Command-line XML and HTML beautifier and content extractor
10+
renovate:
11+
datasource: github-releases
12+
package: sibprogrammer/xq
13+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)