fix: Get version from the BuildInfo.Main.Version if not found in deps and build flag

This commit is contained in:
Dmitry Volodin
2025-01-16 08:56:03 +03:00
parent 48686ac4a3
commit 9c68bd2ee2
4 changed files with 82 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ function build_kustomize_binary {
release_dir=$2
echo "build release artifacts to $release_dir"
mkdir -p "output"
mkdir -p output
# build date in ISO8601 format
build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
for os in linux darwin windows; do