• Kubernetes Submit Queue's avatar
    Merge pull request #58205 from stewart-yu/test_release · 66043059
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    fix error when run release.sh not in {KUBE_ROOT}
    
    **What this PR does / why we need it**:
    add `${KUBE_ROOT}/` in directory, otherwise run 
    ```shell
    cd kubernetes/build  
    ./release.sh
    ```
    will exit:
    ```shell
    +++ [0112 18:18:48] Verifying Prerequisites....
    cp: cannot stat ‘build/build-image/Dockerfile’: No such file or directory
    !!! [0112 18:18:48] Call tree:
    !!! [0112 18:18:48]  1: ./release.sh:35 kube::build::build_image(...)
    !!! Error in ./../build/common.sh:454
      Error in ./../build/common.sh:454. '((i<3-1))' exited with status 1
    Call stack:
      1: ./../build/common.sh:454 kube::build::build_image(...)
      2: ./release.sh:35 main(...)
    Exiting with status 1
    ```
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    66043059
Name
Last commit
Last update
..
build-image Loading commit data...
debian-base Loading commit data...
debian-hyperkube-base Loading commit data...
debian-iptables Loading commit data...
debs Loading commit data...
lib Loading commit data...
pause Loading commit data...
release-tars Loading commit data...
root Loading commit data...
rpms Loading commit data...
visible_to Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
common.sh Loading commit data...
copy-output.sh Loading commit data...
make-build-image.sh Loading commit data...
make-clean.sh Loading commit data...
openapi.bzl Loading commit data...
package-tarballs.sh Loading commit data...
release-in-a-container.sh Loading commit data...
release.sh Loading commit data...
run.sh Loading commit data...
shell.sh Loading commit data...
util.sh Loading commit data...