This is an automated email from the ASF dual-hosted git repository.

isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 2d26566bac IGNITE-23686 Fix updateVersion task (#4728)
2d26566bac is described below

commit 2d26566bac67834ebdace2d491db73f8375eab76
Author: Vadim Pakhnushev <[email protected]>
AuthorDate: Fri Nov 15 17:57:10 2024 +0300

    IGNITE-23686 Fix updateVersion task (#4728)
---
 modules/platforms/build.gradle | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/platforms/build.gradle b/modules/platforms/build.gradle
index 24d75e2de6..dc330fe832 100644
--- a/modules/platforms/build.gradle
+++ b/modules/platforms/build.gradle
@@ -231,10 +231,12 @@ artifacts {
 
 def updateVersion = tasks.register('updateVersion', Task) {
     description = 'Updates the version of the platforms artifacts'
-    def version = project.projectVersion.toString()
-    updateCMakeVersion(version)
-    updateDotnetVersion(version)
-    updatePythonVersion(version)
+    doLast {
+        def version = project.projectVersion.toString()
+        updateCMakeVersion(version)
+        updateDotnetVersion(version)
+        updatePythonVersion(version)
+    }
 }
 
 private void updateCMakeVersion(String version) {

Reply via email to