summaryrefslogtreecommitdiffhomepage
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2019-09-18 14:55:55 -0700
committergVisor bot <gvisor-bot@google.com>2019-09-18 14:57:12 -0700
commit461123ea3510a401423181e8ea8f2cae27fcbc8f (patch)
tree5e6c189a8b21756e917930bd6febecf58b151c4a /scripts/build.sh
parentb63d56b0b4430de7273e3b759667a823927c0473 (diff)
Move the component into the repository structure.
The RELEASE file must be at the top-level for the signed repository to work correctly. PiperOrigin-RevId: 269897109
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 5021dda49..b3a6e4e7a 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -27,7 +27,7 @@ pkg=$(build -c opt --host_force_python=py2 //runsc:runsc-debian)
# Build a repository, if the key is available.
if [[ -v KOKORO_REPO_KEY ]]; then
- repo=$(tools/make_repository.sh "${KOKORO_KEYSTORE_DIR}/${KOKORO_REPO_KEY}" gvisor-bot@google.com ${pkg})
+ repo=$(tools/make_repository.sh "${KOKORO_KEYSTORE_DIR}/${KOKORO_REPO_KEY}" gvisor-bot@google.com main ${pkg})
fi
# Install installs artifacts.
@@ -51,7 +51,7 @@ if [[ -v KOKORO_ARTIFACTS_DIR ]]; then
# The "latest" directory and current date.
stamp="$(date -Idate)"
install "${KOKORO_ARTIFACTS_DIR}/nightly/latest" \
- "${KOKORO_ARTIFACTS_DIR}/dists/nightly/main"
+ "${KOKORO_ARTIFACTS_DIR}/dists/nightly/latest"
install "${KOKORO_ARTIFACTS_DIR}/nightly/${stamp}" \
"${KOKORO_ARTIFACTS_DIR}/dists/nightly/${stamp}"
else
@@ -66,13 +66,13 @@ if [[ -v KOKORO_ARTIFACTS_DIR ]]; then
name=$(echo "${tag}" | cut -d'-' -f2)
base=$(echo "${name}" | cut -d'.' -f1)
install "${KOKORO_ARTIFACTS_DIR}/release/${name}" \
- "${KOKORO_ARTIFACTS_DIR}/dists/${name}/main"
+ "${KOKORO_ARTIFACTS_DIR}/dists/${name}"
if [[ "${base}" != "${tag}" ]]; then
install "${KOKORO_ARTIFACTS_DIR}/release/${base}" \
- "${KOKORO_ARTIFACTS_DIR}/dists/${base}/main"
+ "${KOKORO_ARTIFACTS_DIR}/dists/${base}"
fi
install "${KOKORO_ARTIFACTS_DIR}/release/latest" \
- "${KOKORO_ARTIFACTS_DIR}/dists/latest/main"
+ "${KOKORO_ARTIFACTS_DIR}/dists/latest"
done
fi
fi