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

maximebeauchemin pushed a commit to branch fix_release_docker
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/fix_release_docker by this 
push:
     new 04410954d1 fix: docker-release GHA fails with pathspec error
04410954d1 is described below

commit 04410954d185a273db0ed64eaccaf7d81d7b41e2
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Fri Apr 5 12:52:48 2024 -0700

    fix: docker-release GHA fails with pathspec error
---
 .github/workflows/docker-release.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.github/workflows/docker-release.yml 
b/.github/workflows/docker-release.yml
index 9f8af57012..14af1046a2 100644
--- a/.github/workflows/docker-release.yml
+++ b/.github/workflows/docker-release.yml
@@ -55,6 +55,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           persist-credentials: false
+          depth: 0
 
       - name: Setup supersetbot
         uses: ./.github/actions/setup-supersetbot/
@@ -73,10 +74,7 @@ jobs:
             if [ "${{ github.event.inputs.force-latest }}" = "true" ]; then
               FORCE_LATEST="--force-latest"
             fi
-            # build_docker.py may not exist on that SHA, let's switcharoo to 
/tmp
-            cp ./scripts/build_docker.py /tmp
             git checkout "${{ github.event.inputs.git-ref }}"
-            cp /tmp/build_docker.py scripts/
             EVENT="release"
           fi
 

Reply via email to