Always tag client jar with forge artifact version.

This allows multiple versions of the same forge to be used.
Ex. Recommended 1.15 on prod, latest 1.15 on test.
Also fixed a bug with artifact classifier formatting.
This commit is contained in:
Daniel Scalzi
2020-01-19 12:36:06 -05:00
parent b5e2b3db1c
commit 2b0ba5ac07
2 changed files with 8 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ export class MavenUtil {
public static mavenComponentsToIdentifier(group: string, artifact: string, version: string,
classifier?: string, extension?: string) {
return `${group}:${artifact}:${version}${classifier != null ? `-${classifier}` : ''}${extension != null ? `@${extension}` : ''}`
return `${group}:${artifact}:${version}${classifier != null ? `:${classifier}` : ''}${extension != null ? `@${extension}` : ''}`
}
public static isMavenIdentifier(id: string): boolean {