diff --git a/.github/workflows/version_publish.yml b/.github/workflows/version_publish.yml index 4917c1a..643d819 100644 --- a/.github/workflows/version_publish.yml +++ b/.github/workflows/version_publish.yml @@ -114,7 +114,7 @@ jobs: git config --global user.name "OscarLeBot" git config --global user.email "contact@ekalia.fr" - cp ./build.gradle.kts ./old.build.gradle.kts && sed 's/version = "${{ env.PREVIOUS_VERSION }}"/version = ${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ env.VERSION_PATCH }}"/' ./old.build.gradle.kts > ./build.gradle.kts && rm ./old.build.gradle.kts + cp ./build.gradle.kts ./old.build.gradle.kts && sed 's/version = "${{ env.PREVIOUS_VERSION }}"/version = "${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ env.VERSION_PATCH }}"/' ./old.build.gradle.kts > ./build.gradle.kts && rm ./old.build.gradle.kts git add . diff --git a/build.gradle.kts b/build.gradle.kts index fe2a936..0af099b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ val nexusPass = System.getenv()["NEXUS_PASS"] val isInCi = nexusUser != null && nexusPass != null group = "fr.ekalia.injector" -version = 1.0.2" + if (isRelease) "" else "-SNAPSHOT" +version = "1.0.3" + if (isRelease) "" else "-SNAPSHOT" repositories { mavenCentral()