Skip to content

Commit

Permalink
[Electron] Switch to NPM automation (#2071)
Browse files Browse the repository at this point in the history
- git contains tags for unreleased versions (such as 9.0.6)
- NPM dates are more accurate (for 100+ versions)
- NPM is missing versions from 1.0.0 to 1.3.0
- NPM adds 0.x releases (maybe those should be removed)
  • Loading branch information
marcwrobel committed Dec 27, 2022
1 parent 4956473 commit ec6a3c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions products/electron.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
title: Electron
category: framework
changelogTemplate: |
https://www.electronjs.org/releases/stable?version={{"__LATEST__" | split:'.' | first}}#__LATEST__
iconSlug: electron
permalink: /electron
versionCommand: npm show electron version
releasePolicyLink: https://www.electronjs.org/docs/latest/tutorial/support
changelogTemplate: "https://www.electronjs.org/releases/stable?version={{'__LATEST__'|split:'.'|first}}#__LATEST__"
eolColumn: Supported
activeSupportColumn: false
versionCommand: npm show electron version
auto:
- git: https://github.com/electron/electron.git
releaseDateColumn: true

# The EOL dates will needed to be corrected
# once a new release comes out.
# NPM is more accurate than git and remove unreleased version would.
# 1.x versions are not in NPM, but it's not a big deal: the 1.x cycle is not displayed on this page.
auto:
- npm: electron

# The EOL dates will need to be corrected once a new release comes out.
# v23 (releaseDate) = v20 (eol)
# v24 (releaseDate) = v21 (eol)
# v25 (releaseDate) = v22 (eol)
# and so on...

releases:
- releaseCycle: "22"
eol: 2023-07-07
Expand Down

0 comments on commit ec6a3c2

Please sign in to comment.