Skip to content

Commit 2737b5e

Browse files
authored
Merge pull request #709 from Polymer/release
Release lit-element 2.2.0
2 parents 224fdc3 + f28501d commit 2737b5e

File tree

6 files changed

+1396
-194
lines changed

6 files changed

+1396
-194
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
PRs should document their user-visible changes (if any) in the
1010
Unreleased section, uncommenting the header as necessary.
1111
-->
12-
### Added
13-
* css tagged template literals now allow numbers to be used in expressions ([#488](https://github.com/Polymer/lit-element/issues/488)).
1412

13+
<!-- ## Unreleased -->
14+
<!-- ### Added -->
1515
<!-- ### Changed -->
1616
<!-- ### Removed -->
1717
<!-- ### Fixed -->
1818

19-
## Unreleased
19+
20+
## [2.2.0] - 2019-06-11
21+
### Added
22+
* css tagged template literals now allow numbers to be used in expressions ([#488](https://github.com/Polymer/lit-element/issues/488)).
2023

2124
## [2.1.0] - 2019-03-21
2225
### Changed

check-version-tracker.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* @license
3+
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
4+
* This code may only be used under the BSD style license found at
5+
* http://polymer.github.io/LICENSE.txt
6+
* The complete set of authors may be found at
7+
* http://polymer.github.io/AUTHORS.txt
8+
* The complete set of contributors may be found at
9+
* http://polymer.github.io/CONTRIBUTORS.txt
10+
* Code distributed by Google as part of the polymer project is also
11+
* subject to an additional IP rights grant found at
12+
* http://polymer.github.io/PATENTS.txt
13+
*/
14+
15+
const fs = require('fs');
16+
const path = require('path');
17+
18+
const version = require(path.join(__dirname, 'package.json')).version;
19+
const ts = fs.readFileSync(path.join(__dirname, 'src', 'lit-element.ts'));
20+
if (!ts.includes(version)) {
21+
console.log(
22+
`\nExpected lit-element.ts to contain current version "${version}"`);
23+
console.log(
24+
`Don't forget to update the version tracker string before release!`);
25+
process.exit(1);
26+
}

0 commit comments

Comments
 (0)