Skip to content

Commit

Permalink
Added Support vor Linux (Version change to 0.3.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamThimm committed Jan 22, 2025
1 parent 57fc8cd commit 2cfccf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>de.kontext-e.jqassistant.plugin</groupId>
<artifactId>jqassistant.plugin.csharp</artifactId>
<version>0.3.2</version>
<version>0.3.3</version>

<name>jQAssistant CSharp Plugin</name>
<description>The jQAssistant plugin to scan and to analyze a CSharp instance.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class CSharpToJsonToolManager {

public static final String NAME = "C# to JSON converter";

public static final String CSHARP_TO_JSON_TOOL_VERSION = "0.3.1";
private static final String DOWNLOADLINK = "https://oss.sonatype.org/service/local/repositories/releases/content/de/kontext-e/jqassistant/plugin/csharp-to-json-converter/%s/csharp-to-json-converter-%s.zip";
public static final String CSHARP_TO_JSON_TOOL_VERSION = "0.3.2";
private static final String DOWNLOADLINK = "https://oss.sonatype.org/service/local/repositories/releases/content/de/kontext-e/jqassistant/plugin/csharp-to-json-converter/%s/csharp-to-json-converter-%s-%s.zip";
private static final String WINDOWS = "win";
private static final String OSX = "osx";
private static final String LINUX = "linux";
Expand Down Expand Up @@ -118,6 +118,6 @@ private String buildDownloadLinkForCurrentPlatform() {
throw new RuntimeException("No C#2J tool version available for OS: " + OS_NAME);
}

return String.format(DOWNLOADLINK, CSHARP_TO_JSON_TOOL_VERSION, CSHARP_TO_JSON_TOOL_VERSION);
return String.format(DOWNLOADLINK, CSHARP_TO_JSON_TOOL_VERSION, CSHARP_TO_JSON_TOOL_VERSION, operatingSystem);
}
}

0 comments on commit 2cfccf0

Please sign in to comment.