Fix nightly release upload path.

The "nightly/latest" was duplicated.

PiperOrigin-RevId: 196156453
Change-Id: Iccac65d870f3eb44c4bd97bcbed5cc436cb1d3c9
This commit is contained in:
Nicolas Lacasse
2018-05-10 12:42:17 -07:00
committed by Shentubot
parent 5a509c47a2
commit 9d91c44d77
+2 -2
View File
@@ -33,8 +33,8 @@ bazel build //runsc
# Move the runsc binary into "latest" directory, and also a directory with the
# current date.
latest_dir="${KOKORO_ARTIFACTS_DIR}"/nightly/latest
today_dir="${KOKORO_ARTIFACTS_DIR}"/nightly/"$(date -Idate)"
latest_dir="${KOKORO_ARTIFACTS_DIR}"/latest
today_dir="${KOKORO_ARTIFACTS_DIR}"/"$(date -Idate)"
mkdir -p "${latest_dir}" "${today_dir}"
cp bazel-bin/runsc/linux_amd64_pure_stripped/runsc "${latest_dir}"
cp bazel-bin/runsc/linux_amd64_pure_stripped/runsc "${today_dir}"