Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added meteor-commit #6397

Merged
merged 2 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5677,6 +5677,18 @@
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
"depNameTemplate": "stefanlogue/meteor",
"extractVersionTemplate": "^v(?<version>.+)$",
"fileMatch": [
"^tools/meteor-commit/manifest.yaml$"
],
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
Expand Down
15 changes: 15 additions & 0 deletions tools/meteor-commit/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#syntax=docker/dockerfile:1.9.0@sha256:fe40cf4e92cd0c467be2cfc30657a680ae2398318afd50b0c80585784c604f28

FROM ghcr.io/uniget-org/images/ubuntu:24.04 AS prepare
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
ARG name
ARG version
RUN <<EOF
check-github-release-asset "stefanlogue/meteor" "v${version}" "meteor-linux-${alt_arch}"
curl --silent --show-error --location --fail --output "${prefix}/bin/meteor" \
"https://github.com/stefanlogue/meteor/releases/download/v${version}/meteor-linux-${alt_arch}"
chmod +x "${prefix}/bin/meteor"
EOF
27 changes: 27 additions & 0 deletions tools/meteor-commit/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml
$schema: https://tools.uniget.dev/schema.yaml
name: meteor-commit
license:
name: MIT License
link: https://github.com/stefanlogue/meteor/blob/main/LICENSE
version: "0.22.0"
binary: meteor
check: ${binary} --version | cut -d' ' -f3
conflicts_with:
- meteor
platforms:
- linux/amd64
- linux/arm64
tags:
- category/development
- lang/go
- type/cli
- git
homepage: https://github.com/stefanlogue/meteor
repository: https://github.com/stefanlogue/meteor
description: Highly configurable CLI tool for writing conventional commits
renovate:
datasource: github-releases
package: stefanlogue/meteor
extractVersion: ^v(?<version>.+)$
priority: low
2 changes: 2 additions & 0 deletions tools/meteor/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ $schema: https://tools.uniget.dev/schema.yaml
name: meteor
version: "0.10.1"
check: ${binary} version | tr -d v
conflicts_with:
- meteor-commit
platforms:
- linux/amd64
- linux/arm64
Expand Down
Loading