From 2ac0f38bb75eb666ca2e73142cbcf231bdc0e8d7 Mon Sep 17 00:00:00 2001 From: noys Date: Wed, 20 Dec 2023 15:32:47 +0200 Subject: [PATCH] :construction_worker: Pushing to Git occurs only after successful build and publish --- release/pipelines.release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/release/pipelines.release.yml b/release/pipelines.release.yml index 08a7bfd..2c09e82 100644 --- a/release/pipelines.release.yml +++ b/release/pipelines.release.yml @@ -60,8 +60,6 @@ pipelines: - sed -i "s/\(version=\).*\$/\1${NEXT_VERSION}/" gradle.properties - git commit -am "[artifactory-release] Release version ${NEXT_VERSION} [skipRun]" --allow-empty - git tag ${NEXT_VERSION} - - git push - - git push --tags # Run build and publish - > @@ -81,3 +79,4 @@ pipelines: - sed -i "s/\(version=\).*\$/\1${NEXT_DEVELOPMENT_VERSION}/" gradle.properties - git commit -am "[artifactory-release] Next development version [skipRun]" - git push + - git push --tags