ci: No draft releases when using 'run-bundling' (#28596)
Improve the logic in around release artifact bundling. - Suppress a harmless "error: no such command: `about`" from script/generate-licenes output - Remove checks for main branch (which will never be true) - Only run `Upload Artifacts to release` when not using `run-bundling`. Prevents the creation of draft releases with just linux remote server binaries) Release Notes: - N/A
This commit is contained in:
parent
5909d1258b
commit
6a60bb189b
2 changed files with 15 additions and 21 deletions
|
@ -18,7 +18,7 @@ echo -n "" >"$OUTPUT_FILE"
|
|||
echo -e "\n# ###### CODE LICENSES ######\n"
|
||||
} >>"$OUTPUT_FILE"
|
||||
|
||||
if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" 2>&1 >/dev/null; then
|
||||
if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" &>/dev/null; then
|
||||
echo "Installing cargo-about@^$CARGO_ABOUT_VERSION..."
|
||||
cargo install "cargo-about@^$CARGO_ABOUT_VERSION"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue