From 19649f89bf636e1fa8fe9d678a862a58e87ff63a Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 31 Jul 2021 17:06:49 -0400 Subject: [PATCH] Release v0.1.0 --- server/build.gradle.kts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 0ec6392..1d21a73 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -74,10 +74,10 @@ sourceSets { } // should be bumped with each stable release -val tachideskVersion = System.getenv("ProductVersion") ?: "v0.4.3" +val inspectorVersion = "v0.1.0" // counts commit count on master -val tachideskRevision = runCatching { +val inspectorRevision = runCatching { System.getenv("ProductRevision") ?: Runtime .getRuntime() .exec("git rev-list HEAD --count") @@ -95,10 +95,9 @@ buildConfig { clsName = "BuildConfig" packageName = "suwayomi.server" - buildConfigField("String", "NAME", rootProject.name) - buildConfigField("String", "VERSION", tachideskVersion) - buildConfigField("String", "REVISION", tachideskRevision) + buildConfigField("String", "VERSION", inspectorVersion) + buildConfigField("String", "REVISION", inspectorRevision) } tasks { @@ -108,15 +107,15 @@ tasks { mapOf( "Main-Class" to MainClass, "Implementation-Title" to rootProject.name, - "Implementation-Vendor" to "The Suwayomi Project", - "Specification-Version" to tachideskVersion, - "Implementation-Version" to tachideskRevision + "Implementation-Vendor" to "The Tachiyomi Open Source Project", + "Specification-Version" to inspectorVersion, + "Implementation-Version" to inspectorRevision ) ) } archiveBaseName.set(rootProject.name) - archiveVersion.set(tachideskVersion) - archiveClassifier.set(tachideskRevision) + archiveVersion.set(inspectorVersion) + archiveClassifier.set(inspectorRevision) } withType { kotlinOptions {