diff --git a/DEPS b/DEPS index 47bed33b988..ec4baf3e316 100644 --- a/DEPS +++ b/DEPS @@ -47,7 +47,7 @@ vars = { # Checked-in SDK version. The checked-in SDK is a Dart SDK distribution in a # cipd package used to run Dart scripts in the build and test infrastructure. - "sdk_tag": "version:2.19.0-374.0.dev", + "sdk_tag": "version:2.19.0", # co19 is a cipd package. Use update.sh in tests/co19[_2] to update these # hashes. diff --git a/tools/sdks/update.sh b/tools/sdks/update.sh index 22926494f66..82af17d3ac4 100755 --- a/tools/sdks/update.sh +++ b/tools/sdks/update.sh @@ -51,15 +51,17 @@ cipd create \ -ref $channel rm -rf sdk -gsutil.py cp "gs://dart-archive/channels/$channel/release/$1/sdk/dartsdk-linux-riscv64-release.zip" . -unzip -q dartsdk-linux-riscv64-release.zip -d sdk -cipd create \ - -name dart/dart-sdk/linux-riscv64 \ - -in sdk \ - -install-mode copy \ - -tag version:$1 \ - -ref $channel -rm -rf sdk +if [ "$channel" = "dev" ]; then + gsutil.py cp "gs://dart-archive/channels/$channel/release/$1/sdk/dartsdk-linux-riscv64-release.zip" . + unzip -q dartsdk-linux-riscv64-release.zip -d sdk + cipd create \ + -name dart/dart-sdk/linux-riscv64 \ + -in sdk \ + -install-mode copy \ + -tag version:$1 \ + -ref $channel + rm -rf sdk +fi gsutil.py cp "gs://dart-archive/channels/$channel/release/$1/sdk/dartsdk-macos-x64-release.zip" . unzip -q dartsdk-macos-x64-release.zip -d sdk