mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 13:08:01 +00:00
[release] Update checked-in SDKs to 2.9.0-4.0.dev
* Fix version detection in checked-in SDK update script. * Invoke gclient setdep in checked-in SDK update script. * Move SDK version to a DEPS var. Change-Id: If1e265f365a0a9b94d22acfe61109db92fb2afab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144823 Commit-Queue: Alexander Thomas <athom@google.com> Commit-Queue: William Hesse <whesse@google.com> Auto-Submit: Alexander Thomas <athom@google.com> Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
8d79c1f470
commit
b3400022dd
6
DEPS
6
DEPS
|
@ -36,6 +36,10 @@ vars = {
|
|||
"chromium_git": "https://chromium.googlesource.com",
|
||||
"fuchsia_git": "https://fuchsia.googlesource.com",
|
||||
|
||||
# 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.9.0-4.0.dev",
|
||||
|
||||
# co19 is a cipd package. Use update.sh in tests/co19[_2] to update these
|
||||
# hashes. It requires access to the dart-build-access group, which EngProd
|
||||
# has.
|
||||
|
@ -176,7 +180,7 @@ deps = {
|
|||
Var("dart_root") + "/tools/sdks": {
|
||||
"packages": [{
|
||||
"package": "dart/dart-sdk/${{platform}}",
|
||||
"version": "version:2.8.0-dev.18.0",
|
||||
"version": Var("sdk_tag"),
|
||||
}],
|
||||
"dep_type": "cipd",
|
||||
},
|
||||
|
|
|
@ -9,8 +9,8 @@ if [ -z "$1" ]; then
|
|||
fi
|
||||
|
||||
case "$1" in
|
||||
*-dev.*.0) channel="dev";;
|
||||
*-dev.*) channel="beta";;
|
||||
*-*.0.dev) channel="dev";;
|
||||
*-*.*.beta) channel="beta";;
|
||||
*) channel="stable";;
|
||||
esac
|
||||
|
||||
|
@ -83,3 +83,5 @@ cipd create \
|
|||
rm -rf sdk
|
||||
|
||||
popd
|
||||
|
||||
gclient setdep --var="sdk_tag=version:$1"
|
||||
|
|
Loading…
Reference in a new issue