From 5f9cd16e088fd0c0c37241c2000a87b5929bbf91 Mon Sep 17 00:00:00 2001 From: James Ward Date: Sun, 3 Mar 2024 11:31:23 -0700 Subject: [PATCH] fix again --- src/PklProject | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PklProject b/src/PklProject index 57606b7..bfba314 100644 --- a/src/PklProject +++ b/src/PklProject @@ -5,11 +5,11 @@ package { authors { "James Ward " } - version = read?("env:VERSION") ?? "0.0.1-SNAPSHOT" + version = read?("env:VERSION")?.replaceFirst("\(name)@", "") ?? "0.0.1-SNAPSHOT" baseUri = "package://jamesward.github.com/pklgha" - packageZipUrl = "https://github.com/jamesward/pklgha/releases/download/\(version)/\(version).zip" + packageZipUrl = "https://github.com/jamesward/pklgha/releases/download/\(name)@\(version)/\(name)@\(version).zip" sourceCode = "https://github.com/jamesward/pklgha" - sourceCodeUrlScheme = "\(sourceCode)/blob/\(version)%{path}#L%{line}-L%{endLine}" + sourceCodeUrlScheme = "\(sourceCode)/blob/\(name)@\(version)%{path}#L%{line}-L%{endLine}" documentation = "https://jamesward.github.io/pklgha" license = "Apache-2.0" description = """