You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/06/09 07:42:51 UTC

(pulsar-site) branch main updated: Remove workaround related to git worktree in release doc

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

lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new e68d0f39bfdd Remove workaround related to git worktree in release doc
e68d0f39bfdd is described below

commit e68d0f39bfdd5611d1535dc06d065cb7016c9df0
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Sun Jun 9 10:41:23 2024 +0300

    Remove workaround related to git worktree in release doc
    
    - issue was fixed by https://github.com/apache/pulsar/pull/22851
---
 contribute/release-process.md | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/contribute/release-process.md b/contribute/release-process.md
index 0167fd8c608c..e65a1f16c114 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -386,24 +386,6 @@ DOCKER_USER=<your-username> DOCKER_PASSWORD=<your-password> DOCKER_ORG=<your-org
 
 ### Release Pulsar 3.0 and later
 
-If you are using a git worktree, the git hash won't get properly applied to the docker image tag.
-the workaround is to replace the `.git` file in the directory with a symbolic link to the worktree git directory
-
-```shell
-# only when using git worktree
-cd $PULSAR_PATH
-if [[ -f .git ]]; then
-  REAL_GITDIR=$(cat .git |awk '{ print $2 }')
-  if [[ -d "$REAL_GITDIR" ]]; then
-    mv .git .git~
-    ln -s $REAL_GITDIR .git
-    echo "Workaround in place"
-  else
-    echo "Could find gitdir in .git file"
-  fi
-fi
-```
-
 For creating and publishing the docker images, run the following commands:
 
 ```shell