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

lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new 509d0720 Fix dry-run flag in release-build.sh (#248)
509d0720 is described below

commit 509d0720ccafa6c430f906df1ab5e20f51be6424
Author: Luciano Resende <[email protected]>
AuthorDate: Sun Mar 8 19:40:42 2026 -0700

    Fix dry-run flag in release-build.sh (#248)
---
 etc/tools/release-build.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/etc/tools/release-build.sh b/etc/tools/release-build.sh
index 54e7b374..7571141c 100755
--- a/etc/tools/release-build.sh
+++ b/etc/tools/release-build.sh
@@ -244,8 +244,10 @@ if [[ "$RELEASE_PREPARE" == "true" ]]; then
     git_tag_hash=`git rev-parse --short HEAD`
     sed -i .bak "s@^BASE_VERSION.*@BASE_VERSION?=$DEVELOPMENT_VERSION@g" 
Makefile
     git commit Makefile -m"Prepare for next development interaction 
$DEVELOPMENT_VERSION"
-    git push
-    git push --tags
+    if [ -z "$DRY_RUN" ]; then
+        git push
+        git push --tags
+    fi
 
     cd .. #exit toree
 

Reply via email to