From c47c9e054ad4e645d7207be0d80ce57840dfd7b8 Mon Sep 17 00:00:00 2001 From: NONPLAYT Date: Sun, 15 Jan 2023 02:40:16 +0300 Subject: [PATCH] rename branch --- .github/workflows/build.yml | 2 +- patches/server/0001-Divine-Branding.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24c59a8..b0aa5c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: env: version: 1.19.3 - branch: ver/1.19.3 + branch: master debug: 'false' jobs: diff --git a/patches/server/0001-Divine-Branding.patch b/patches/server/0001-Divine-Branding.patch index f826d22..4877993 100644 --- a/patches/server/0001-Divine-Branding.patch +++ b/patches/server/0001-Divine-Branding.patch @@ -91,7 +91,7 @@ index 0000000000000000000000000000000000000000..23b8d7f0a52f97fe7a0c297efe144037 + private static final HttpClient client = HttpClient.newHttpClient(); + + private static final URI JENKINS_URI = URI.create("https://raw.githubusercontent.com/DivineMC/Website/main/latestBuild"); -+ private static final String GITHUB_FORMAT = "https://api.github.com/repos/DivineMC/DivineMC/compare/ver/1.19.3...%s"; ++ private static final String GITHUB_FORMAT = "https://api.github.com/repos/DivineMC/DivineMC/compare/master...%s"; + + private static final HttpResponse.BodyHandler JSON_OBJECT_BODY_HANDLER = responseInfo -> HttpResponse.BodySubscribers.mapping( + HttpResponse.BodySubscribers.ofString(StandardCharsets.UTF_8),