From e5f0581af0c308dbec8668cc3af5747d72d078af Mon Sep 17 00:00:00 2001 From: irockel Date: Wed, 10 Jan 2024 19:23:49 +0100 Subject: [PATCH] MAD-286: export DEPLOY_VERSION otherwise gradle wrapper wont get the environment variable. Signed-off-by: irockel --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 77fee18..6e972f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,8 @@ jobs: - run: name: Publish Snapshot Release command: | - DEPLOY_VERSION="1.1.0-SNAPSHOT" && ./gradlew publish -Psigning.secretKeyRingFile=/home/circleci/.gnupg/secring.gpg -Psigning.password="${GPG_PASSPHRASE}" -Psigning.keyId="${GPG_KEY_ID}" -PbuildRelease=true + export DEPLOY_VERSION="1.1.0-SNAPSHOT" + ./gradlew publish -Psigning.secretKeyRingFile=/home/circleci/.gnupg/secring.gpg -Psigning.password="${GPG_PASSPHRASE}" -Psigning.keyId="${GPG_KEY_ID}" -PbuildRelease=true deploy-release: executor: android-docker @@ -109,7 +110,8 @@ jobs: - run: name: Publish Snapshot Release command: | - DEPLOY_VERSION="1.0.1" && ./gradlew publish -Psigning.secretKeyRingFile=/home/circleci/.gnupg/secring.gpg -Psigning.password="${GPG_PASSPHRASE}" -Psigning.keyId="${GPG_KEY_ID}" -PbuildRelease=true + export DEPLOY_VERSION="1.0.1" + ./gradlew publish -Psigning.secretKeyRingFile=/home/circleci/.gnupg/secring.gpg -Psigning.password="${GPG_PASSPHRASE}" -Psigning.keyId="${GPG_KEY_ID}" -PbuildRelease=true distribute-dev: