Skip to content

Commit

Permalink
Merge pull request #5397 from koba1t/fix_release_binary_archive_conta…
Browse files Browse the repository at this point in the history
…ins_unnecessary_dir

fix release binary archive contains unnecessary dir
  • Loading branch information
natasha41575 authored Oct 19, 2023
2 parents 001ab61 + 289e78c commit e71072b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions releasing/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ function build_kustomize_binary {
-X sigs.k8s.io/kustomize/api/provenance.buildDate=$build_date"\
kustomize/main.go
if [ "$os" == "windows" ]; then
zip "${release_dir}/kustomize_${version}_${os}_${arch}.zip" output/kustomize
zip -j "${release_dir}/kustomize_${version}_${os}_${arch}.zip" output/kustomize
else
tar cvfz "${release_dir}/kustomize_${version}_${os}_${arch}.tar.gz" output/kustomize
tar cvfz "${release_dir}/kustomize_${version}_${os}_${arch}.tar.gz" -C output kustomize
fi
rm output/kustomize
done
Expand Down

0 comments on commit e71072b

Please # to comment.