Fix the Chocolatey version of the Dart SDK (#389)

Dev SDKs changed from 2.0.0.XX-dev to 2.0.0.XX-dev-Y.
This commit is contained in:
Natalie Weizenbaum 2018-06-27 17:42:07 -07:00 committed by GitHub
parent c3902faf67
commit cd0211c2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## 1.7.3
* No user-visible changes.
## 1.7.2
* Add a deprecation warning for `@-moz-document`, except for cases where only an

View File

@ -1,5 +1,5 @@
name: sass
version: 1.7.2
version: 1.7.3
description: A Sass implementation in Dart.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/sass/dart-sass

View File

@ -47,7 +47,8 @@ xml.XmlDocument _nuspec() {
assert(dartVersion.preRelease[0] == "dev");
assert(dartVersion.preRelease[1] is int);
sdkVersion = "${dartVersion.major}.${dartVersion.minor}."
"${dartVersion.patch}.${dartVersion.preRelease[1]}-dev";
"${dartVersion.patch}.${dartVersion.preRelease[1]}-dev-"
"${dartVersion.preRelease[2]}";
} else {
sdkVersion = dartVersion.toString();
}