From 4610ac1571ec3e63f42a357b8b2ee6040fb4c267 Mon Sep 17 00:00:00 2001 From: Yamel Senih Date: Tue, 16 Aug 2022 19:43:03 -0400 Subject: [PATCH] Fixed error with wrong version --- .github/workflows/build_with_gradle.yml | 2 +- .github/workflows/publish_with_gradle.yml | 2 +- build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_with_gradle.yml b/.github/workflows/build_with_gradle.yml index cdbed09..c16cc45 100644 --- a/.github/workflows/build_with_gradle.yml +++ b/.github/workflows/build_with_gradle.yml @@ -45,7 +45,7 @@ jobs: - name: Build with Gradle run: gradle build env: - ADEMIERE_LIBRARY_VERSION: ${{ secrets.ADEMIERE_LIBRARY_VERSION }} + ADEMPIERE_LIBRARY_VERSION: 'test-version' ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_SECRET }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_PASSPHRASE }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_TOKEN }} diff --git a/.github/workflows/publish_with_gradle.yml b/.github/workflows/publish_with_gradle.yml index 892f340..3eb704e 100644 --- a/.github/workflows/publish_with_gradle.yml +++ b/.github/workflows/publish_with_gradle.yml @@ -44,7 +44,7 @@ jobs: - name: Publish with Gradle run: gradle publish env: - ADEMIERE_LIBRARY_VERSION: ${{ github.event.release.tag_name }} + ADEMPIERE_LIBRARY_VERSION: ${{ github.event.release.tag_name }} ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_SECRET }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_PASSPHRASE }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_TOKEN }} diff --git a/build.gradle b/build.gradle index 2547c6a..af65ef7 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ java { } def entityType = 'WHH' -version = System.getenv("ADEMIERE_LIBRARY_VERSION") +version = System.getenv("ADEMPIERE_LIBRARY_VERSION") jar { manifest {