Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
Add basic support for lts to builds app.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Apr 12, 2016
1 parent 3c2c541 commit a3f7b20
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 deletions.
41 changes: 29 additions & 12 deletions source/javascripts/app/builds/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,28 @@ App.Project.reopenClass({
baseFileName: 'ember',
projectFilter: [ /ember\./, /ember-template-compiler/ ],
projectRepo: 'emberjs/ember.js',
initialVersion: "2.4.0",
initialReleaseDate: "2016-02-29",
lastRelease: "2.4.4",
futureVersion: "2.4.5",
initialVersion: "2.4.5",
initialReleaseDate: "2016-04-11",
lastRelease: "2.4.5",
futureVersion: "2.4.6",
channel: "lts",
date: "2016-04-11",
changelogPath: "CHANGELOG.md",
enableTestURL: true,
debugFileName: ".debug.js",
ignoreFiles: ['ember.js'],
installWithEmberCLI: '# Install Ember %s:\nbower install --save ember#v%s\n# Or, install the latest build of this channel which may include unreleased incremental changes:\nbower install --save ember#release'
}, {
projectName: "Ember",
baseFileName: 'ember',
projectFilter: [ /ember\./, /ember-template-compiler/ ],
projectRepo: 'emberjs/ember.js',
initialVersion: "2.5.0",
initialReleaseDate: "2016-04-11",
lastRelease: "2.5.0",
futureVersion: "2.5.1",
channel: "release",
date: "2016-04-03",
date: "2016-04-11",
changelogPath: "CHANGELOG.md",
enableTestURL: true,
debugFileName: ".debug.js",
Expand All @@ -218,13 +234,13 @@ App.Project.reopenClass({
baseFileName: 'ember',
projectFilter: [ /ember\./, /ember-template-compiler/ ],
projectRepo: 'emberjs/ember.js',
lastRelease: "2.5.0-beta.4",
futureVersion: "2.5.0-beta.5",
finalVersion: '2.5.0',
lastRelease: "2.6.0-beta.1",
futureVersion: "2.6.0-beta.2",
finalVersion: '2.6.0',
channel: "beta",
cycleEstimatedFinishDate: '2016-04-11',
date: "2016-04-03",
nextDate: "2016-04-06",
cycleEstimatedFinishDate: '2016-05-23',
date: "2016-04-11",
nextDate: "2016-04-18",
changelogPath: "CHANGELOG.md",
enableTestURL: true,
debugFileName: ".debug.js",
Expand Down Expand Up @@ -350,7 +366,8 @@ App.IndexRoute = Ember.Route.extend({
return Ember.RSVP.hash({
release: App.Project.findOne('release', 'Ember'),
beta: App.Project.findOne('beta', 'Ember'),
canary: App.Project.findOne('canary', 'Ember')
canary: App.Project.findOne('canary', 'Ember'),
lts: App.Project.findOne('lts', 'Ember')
});
}
});
Expand Down
3 changes: 2 additions & 1 deletion source/javascripts/app/builds/templates/index.js.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ bug or security fixes.
<div class="description last">
<h3>Long-Term Support (LTS)</h3>
<p>
<em>The first LTS release will be made around Feburary 26th, 2016</em>
<em>The latest LTS release is {{model.lts.lastRelease}}, made on
{{format-date-time model.lts.date 'MMMM Do, YYYY'}}</em>
</p>
<p>The LTS channel provides a longer support timeframe but receives
new features less frequently. These builds are right for users who
Expand Down

0 comments on commit a3f7b20

Please sign in to comment.