crosvm/infra/cipd/package_codecov.sh
Dennis Kempin 1dab58a2cf Update all copyright headers to match new style
This search/replace updates all copyright notices to drop the
"All rights reserved", Use "ChromiumOS" instead of "Chromium OS"
and drops the trailing dots.

This fulfills the request from legal and unifies our notices.

./tools/health-check has been updated to only accept this style.

BUG=b:246579983
TEST=./tools/health-check

Change-Id: I87a80701dc651f1baf4820e5cc42469d7c5f5bf7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3894243
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-09-13 18:41:29 +00:00

21 lines
614 B
Bash
Executable file

#!/usr/bin/env bash
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
BUILD_DIR=$(mktemp -d)
cd "$BUILD_DIR" || exit 1
CIPD_ARGS=(
-pkg-var "description:codecov.io uploader"
-install-mode copy
-ref latest
)
CODECOV_URL="https://uploader.codecov.io/v0.2.5/linux/codecov"
wget -q "$CODECOV_URL" -O "codecov"
echo "66cbf87269acc529c87f6ea29395ba329f528e92cfda4fc199eab460123e18b6 codecov" | sha256sum --check --status
chmod +x codecov
cipd create -in "." -name "crosvm/codecov/linux-amd64" "${CIPD_ARGS[@]}"