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

Commit

Permalink
Added has #4807
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Mar 22, 2023
1 parent 45c8788 commit ff60ffd
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2137,6 +2137,17 @@
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"datasourceTemplate": "github-releases",
"depNameTemplate": "kdabir/has",
"extractVersionTemplate": "^v(?<version>.+?)$",
"fileMatch": [
"^tools/has/manifest.yaml$"
],
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"datasourceTemplate": "github-releases",
"depNameTemplate": "homeport/havener",
Expand Down
12 changes: 12 additions & 0 deletions tools/has/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#syntax=docker/dockerfile:1.5.2

ARG ref=main

FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
ARG name
ARG version
RUN <<EOF
curl --silent --location --fail --output "${prefix}${target}/bin/has" \
"https://github.com/kdabir/has/raw/v${version}/has"
chmod +x "${prefix}${target}/bin/has"
EOF
16 changes: 16 additions & 0 deletions tools/has/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: has
version: "1.4.0"
check: ""
platforms:
- linux/amd64
- linux/arm64
tags:
- category/development
- lang/shell
- type/cli
homepage: https://github.com/kdabir/has
description: Checks presence of various command line tools and their versions on the path
renovate:
datasource: github-releases
package: kdabir/has
extractVersion: ^v(?<version>.+?)$

0 comments on commit ff60ffd

Please sign in to comment.