Skip to content

Commit

Permalink
Added renovate to minecraft
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Jan 6, 2025
1 parent f443d74 commit d7752ac
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 38 deletions.
20 changes: 10 additions & 10 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2737,9 +2737,9 @@
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
],
"depNameTemplate": "foo/bar",
"depNameTemplate": "uniget-org/renovate-custom",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
"extractVersionTemplate": "^floodgate/(?<version>.+)$"
},
{
"customType": "regex",
Expand Down Expand Up @@ -2999,9 +2999,9 @@
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
],
"depNameTemplate": "foo/bar",
"depNameTemplate": "uniget-org/renovate-custom",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
"extractVersionTemplate": "^geyser/(?<version>.+)$"
},
{
"customType": "regex",
Expand Down Expand Up @@ -6146,9 +6146,9 @@
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
],
"depNameTemplate": "foo/bar",
"depNameTemplate": "uniget-org/renovate-custom",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
"extractVersionTemplate": "^minecraft-server/(?<version>.+)$"
},
{
"customType": "regex",
Expand Down Expand Up @@ -7012,9 +7012,9 @@
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
],
"depNameTemplate": "foo/bar",
"depNameTemplate": "uniget-org/renovate-custom",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
"extractVersionTemplate": "^papermc/(?<version>.+)$"
},
{
"customType": "regex",
Expand Down Expand Up @@ -9459,9 +9459,9 @@
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
],
"depNameTemplate": "foo/bar",
"depNameTemplate": "uniget-org/renovate-custom",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)$"
"extractVersionTemplate": "^velocity/(?<version>.+)$"
},
{
"customType": "regex",
Expand Down
8 changes: 2 additions & 6 deletions tools/floodgate/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ name: floodgate
license:
name: MIT License
link: https://github.com/GeyserMC/Floodgate/blob/master/LICENSE
# curl -sSLf https://download.geysermc.org/v2/projects/floodgate \
# | jq --raw-output '.versions[-1]'
# curl -sSLf https://download.geysermc.org/v2/projects/floodgate/versions/2.2.3/builds \
# | jq --raw-output '.builds | map(select(.channel == "default")) | .[-1].build'
version: "2.2.3.114"
binary: "false"
check: "" # No binary
Expand All @@ -29,6 +25,6 @@ repository: https://github.com/GeyserMC/Floodgate
description: Hybrid mode plugin to allow for connections from Geyser to join online mode servers
renovate:
datasource: github-releases
package: foo/bar
extractVersion: ^v(?<version>.+)$
package: uniget-org/renovate-custom
extractVersion: ^floodgate/(?<version>.+)$
priority: low
8 changes: 2 additions & 6 deletions tools/geyser/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ name: geyser
license:
name: MIT License
link: https://github.com/GeyserMC/Geyser/blob/master/LICENSE
# curl -sSLf https://download.geysermc.org/v2/projects/geyser \
# | jq --raw-output '.versions[-1]'
# curl -sSLf https://download.geysermc.org/v2/projects/geyser/versions/2.6.0/builds \
# | jq --raw-output '.builds | map(select(.channel == "default")) | .[-1].build'
version: "2.6.0.740"
binary: "false"
check: "" # No binary
Expand All @@ -29,6 +25,6 @@ repository: https://github.com/GeyserMC/Geyser
description: Bridge/proxy allowing you to connect to Minecraft Java Edition servers with Minecraft Bedrock Edition
renovate:
datasource: github-releases
package: foo/bar
extractVersion: ^v(?<version>.+)$
package: uniget-org/renovate-custom
extractVersion: ^geyser/(?<version>.+)$
priority: low
8 changes: 2 additions & 6 deletions tools/minecraft-server/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ name: minecraft-server
license:
name: Unknown
link: ""
# curl -sSLf https://launchermeta.mojang.com/mc/game/version_manifest.json \
# | jq --raw-output '.latest.release'
# curl -sSLf https://launchermeta.mojang.com/mc/game/version_manifest.json \
# | jq --raw-output --arg version 1.21.4 '.versions[] | select(.id == $version) | .url'
version: "1.21.4"
binary: "false"
check: "" # No binary
Expand All @@ -27,6 +23,6 @@ repository: https://www.minecraft.net/de-de
description: Minecraft server
renovate:
datasource: github-releases
package: foo/bar
extractVersion: ^v(?<version>.+)$
package: uniget-org/renovate-custom
extractVersion: ^minecraft-server/(?<version>.+)$
priority: low
10 changes: 2 additions & 8 deletions tools/papermc/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ name: papermc
license:
name: GPLv3 and MIT License
link: https://github.com/PaperMC/Paper/blob/main/LICENSE.md
# curl --silent --show-error --location --fail \
# "https://api.papermc.io/v2/projects/paper" \
# | jq --raw-output '.version_groups[-1]'
# curl --silent --show-error --location --fail \
# "https://api.papermc.io/v2/projects/paper/version_group/1.21/builds" \
# | jq '.builds | map(select(.channel == "default")) | .[-1].downloads.application.name'
version: "1.21.3-82"
binary: "false"
check: "" # No binary
Expand All @@ -29,6 +23,6 @@ repository: https://github.com/PaperMC/Paper
description: High performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
renovate:
datasource: github-releases
package: foo/bar
extractVersion: ^v(?<version>.+)$
package: uniget-org/renovate-custom
extractVersion: ^papermc/(?<version>.+)$
priority: low
4 changes: 2 additions & 2 deletions tools/velocity/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ repository: https://github.com/PaperMC/Velocity
description: Modern, next-generation Minecraft server proxy
renovate:
datasource: github-releases
package: foo/bar
extractVersion: ^v(?<version>.+)$
package: uniget-org/renovate-custom
extractVersion: ^velocity/(?<version>.+)$
priority: low

0 comments on commit d7752ac

Please sign in to comment.