mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
fix(bootstrap_sdk): skip final release goo if stage4 wasn't built
This commit is contained in:
parent
a21a545f2e
commit
3600615dc8
@ -57,6 +57,7 @@ catalyst_init "$@"
|
||||
check_gsutil_opts
|
||||
catalyst_build
|
||||
|
||||
if [[ "$STAGES" =~ stage4 ]]; then
|
||||
info "Build complete! Changing output name to something more sensible."
|
||||
build_name="stage4-${ARCH}-${FLAGS_version}.tar.bz2"
|
||||
release_name="${TYPE}-${ARCH}-${FLAGS_version}.tar.bz2"
|
||||
@ -84,5 +85,6 @@ def_upload_path="${UPLOAD_ROOT}/sdk/${ARCH}/${FLAGS_version}"
|
||||
upload_files "tarball" "${def_upload_path}" "" "$BUILDS/${release_name}" \
|
||||
"$BUILDS/${release_name}.CONTENTS" "$BUILDS/${release_name}.DIGESTS"
|
||||
upload_files "packages" "${def_upload_path}" "pkgs/" "${BINPKGS}"/*
|
||||
fi
|
||||
|
||||
command_completed
|
||||
|
Loading…
Reference in New Issue
Block a user