From 082d8e644166794bcd85f00410af969b1655ca3f Mon Sep 17 00:00:00 2001 From: Andres Almiray Date: Thu, 19 Aug 2021 20:44:52 +0200 Subject: [PATCH] Use namespace when resolving JReleaser version. Fixes #4" --- get_jreleaser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_jreleaser.java b/get_jreleaser.java index 3dd70eb..40efe15 100644 --- a/get_jreleaser.java +++ b/get_jreleaser.java @@ -29,7 +29,7 @@ class get_jreleaser { // resolve latest to a tagged release if ("latest".equalsIgnoreCase(version)) { var url = "https://jreleaser.org/releases/latest/download/VERSION"; - var file = Path.of("VERSION"); + var file = Path.of("JRELEASER_VERSION"); try (var stream = new URL(url).openStream()) { System.out.printf("✅ Located version marker%n");