-
-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(generic): make the changelog link to the relevent commits
- Loading branch information
1 parent
9a3854f
commit ee6a7d8
Showing
3 changed files
with
60 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,100 @@ | ||
#### 0.0.9 (2016-12-11) | ||
#### [0.0.9](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.9) (2016-12-11) | ||
|
||
##### Documentation Changes | ||
|
||
* **packager:** document the require mapping of the hooks (87fb6aa6) | ||
* **packager:** document the require mapping of the hooks ([87fb6aa6](https://github.com/marshallofsound/electron-forge/commit/87fb6aa6)) | ||
|
||
##### New Features | ||
|
||
* **packager:** map afterExtract hooks to require calls (623a0001) | ||
* **packager:** map afterExtract hooks to require calls ([623a0001](https://github.com/marshallofsound/electron-forge/commit/623a0001)) | ||
|
||
#### 0.0.8 (2016-12-11) | ||
#### [0.0.8](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.8) (2016-12-11) | ||
|
||
##### New Features | ||
|
||
* **maker:** add the flatpak maker for the linux target (218518ef) | ||
* **maker:** add the flatpak maker for the linux target ([218518ef](https://github.com/marshallofsound/electron-forge/commit/218518ef)) | ||
|
||
##### Refactors | ||
|
||
* **packager:** | ||
* move packager compile logic to a electron-packager afterCopy hook (c10bcd29) | ||
* upgrade to Electron Packager 8.4.0 (with quiet option) (9ab19b5f) | ||
* move packager compile logic to a electron-packager afterCopy hook ([c10bcd29](https://github.com/marshallofsound/electron-forge/commit/c10bcd29)) | ||
* upgrade to Electron Packager 8.4.0 (with quiet option) ([9ab19b5f](https://github.com/marshallofsound/electron-forge/commit/9ab19b5f)) | ||
|
||
#### 0.0.7 (2016-12-11) | ||
#### [0.0.7](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.7) (2016-12-11) | ||
|
||
##### Documentation Changes | ||
|
||
* **generic:** | ||
* tweak the readme (c6ededf6) | ||
* update readme (f03ffeb5) | ||
* tweak the readme ([c6ededf6](https://github.com/marshallofsound/electron-forge/commit/c6ededf6)) | ||
* update readme ([f03ffeb5](https://github.com/marshallofsound/electron-forge/commit/f03ffeb5)) | ||
|
||
##### Bug Fixes | ||
|
||
* **starter:** pass through env to started application (834729fb) | ||
* **maker:** spawn the zip command in the containing directory (e909a0c4) | ||
* **initializer:** add electron-compile to the prod dependencies of the initialized app (5a56efb9) | ||
* **starter:** pass through env to started application ([834729fb](https://github.com/marshallofsound/electron-forge/commit/834729fb)) | ||
* **maker:** spawn the zip command in the containing directory ([e909a0c4](https://github.com/marshallofsound/electron-forge/commit/e909a0c4)) | ||
* **initializer:** add electron-compile to the prod dependencies of the initialized app ([5a56efb9](https://github.com/marshallofsound/electron-forge/commit/5a56efb9)) | ||
|
||
#### 0.0.6 (2016-12-11) | ||
#### [0.0.6](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.6) (2016-12-11) | ||
|
||
##### Chores | ||
|
||
* **tests:** | ||
* run different package installers in different Travis workers (028bcfbf) | ||
* run Travis with OSX and Linux workers (9d1b0291) | ||
* run different package installers in different Travis workers ([028bcfbf](https://github.com/marshallofsound/electron-forge/commit/028bcfbf)) | ||
* run Travis with OSX and Linux workers ([9d1b0291](https://github.com/marshallofsound/electron-forge/commit/9d1b0291)) | ||
|
||
##### Documentation Changes | ||
|
||
* **README:** | ||
* fix license badge url (026141c0) | ||
* add badges to the readme (f912c24f) | ||
* **LICENSE:** add a license file (89ada6e9) | ||
* fix license badge url ([026141c0](https://github.com/marshallofsound/electron-forge/commit/026141c0)) | ||
* add badges to the readme ([f912c24f](https://github.com/marshallofsound/electron-forge/commit/f912c24f)) | ||
* **LICENSE:** add a license file ([89ada6e9](https://github.com/marshallofsound/electron-forge/commit/89ada6e9)) | ||
|
||
##### New Features | ||
|
||
* **maker:** | ||
* add the rpm maker for the linux target (85821f27) | ||
* add the deb maker for the linux target (5c5ce67a) | ||
* add the dmg maker for the darwin target (aaceb3f2) | ||
* **build:** add git-cz for semantic versioned commits (cdbc78b6) | ||
* add the rpm maker for the linux target ([85821f27](https://github.com/marshallofsound/electron-forge/commit/85821f27)) | ||
* add the deb maker for the linux target ([5c5ce67a](https://github.com/marshallofsound/electron-forge/commit/5c5ce67a)) | ||
* add the dmg maker for the darwin target ([aaceb3f2](https://github.com/marshallofsound/electron-forge/commit/aaceb3f2)) | ||
* **build:** add git-cz for semantic versioned commits ([cdbc78b6](https://github.com/marshallofsound/electron-forge/commit/cdbc78b6)) | ||
|
||
##### Bug Fixes | ||
|
||
* **maker:** | ||
* add a santizied app id to the electronWinstaller config on init (20ae889e) | ||
* move electron-installer-debian to optional deps so that installs work on windows (661b1eb6) | ||
* correct path/arch of generated deb file (63ff52b2) | ||
* **generic:** fix package.json warning about repository (f21a87aa) | ||
* **packager:** throw error when electron-prebuilt-compile is not found (23449956) | ||
* add a santizied app id to the electronWinstaller config on init ([20ae889e](https://github.com/marshallofsound/electron-forge/commit/20ae889e)) | ||
* move electron-installer-debian to optional deps so that installs work on windows ([661b1eb6](https://github.com/marshallofsound/electron-forge/commit/661b1eb6)) | ||
* correct path/arch of generated deb file ([63ff52b2](https://github.com/marshallofsound/electron-forge/commit/63ff52b2)) | ||
* **generic:** fix package.json warning about repository ([f21a87aa](https://github.com/marshallofsound/electron-forge/commit/f21a87aa)) | ||
* **packager:** throw error when electron-prebuilt-compile is not found ([23449956](https://github.com/marshallofsound/electron-forge/commit/23449956)) | ||
|
||
##### Refactors | ||
|
||
* **maker:** | ||
* DRY up app name (f5ae494f) | ||
* add packageJSON to the function arguments (e8e1054a) | ||
* create ensure{Directory,File} to rimraf+mkdirp the given output (b3b616a0) | ||
* DRY up app name ([f5ae494f](https://github.com/marshallofsound/electron-forge/commit/f5ae494f)) | ||
* add packageJSON to the function arguments ([e8e1054a](https://github.com/marshallofsound/electron-forge/commit/e8e1054a)) | ||
* create ensure{Directory,File} to rimraf+mkdirp the given output ([b3b616a0](https://github.com/marshallofsound/electron-forge/commit/b3b616a0)) | ||
* **generic:** | ||
* add debug calls to the linter (3e116109) | ||
* add the 'debug' module for standard debug logging (9f4c0b49) | ||
* add debug calls to the linter ([3e116109](https://github.com/marshallofsound/electron-forge/commit/3e116109)) | ||
* add the 'debug' module for standard debug logging ([9f4c0b49](https://github.com/marshallofsound/electron-forge/commit/9f4c0b49)) | ||
* **packager:** | ||
* remove stray log (f4f36b59) | ||
* move the electron-packager dependency to forge instead of the users module (2e695c21) | ||
* remove stray log ([f4f36b59](https://github.com/marshallofsound/electron-forge/commit/f4f36b59)) | ||
* move the electron-packager dependency to forge instead of the users module ([2e695c21](https://github.com/marshallofsound/electron-forge/commit/2e695c21)) | ||
|
||
##### Code Style Changes | ||
|
||
* **generic:** | ||
* disable some eslint rules that don't make sense in a CLI tool (f1f06acf) | ||
* change eslint rules to allow strange linebreaks (4b7a22e3) | ||
* disable some eslint rules that don't make sense in a CLI tool ([f1f06acf](https://github.com/marshallofsound/electron-forge/commit/f1f06acf)) | ||
* change eslint rules to allow strange linebreaks ([4b7a22e3](https://github.com/marshallofsound/electron-forge/commit/4b7a22e3)) | ||
|
||
##### Tests | ||
|
||
* **resolve-dir:** add a fixture that is actually an electron-forge package.json file (e0e712dd) | ||
* **resolve-dir:** add a fixture that is actually an electron-forge package.json file ([e0e712dd](https://github.com/marshallofsound/electron-forge/commit/e0e712dd)) | ||
|
||
#### 0.0.5 (2016-12-11) | ||
#### [0.0.5](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.5) (2016-12-11) | ||
|
||
#### 0.0.4 (2016-12-11) | ||
#### [0.0.4](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.4) (2016-12-11) | ||
|
||
#### 0.0.3 (2016-12-11) | ||
#### [0.0.3](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.3) (2016-12-11) | ||
|
||
#### 0.0.2 (2016-12-11) | ||
#### [0.0.2](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.2) (2016-12-11) | ||
|
||
#### 0.0.1 (2016-12-11) | ||
#### [0.0.1](https://github.com/MarshallOfSound/electron-forge/releases/tag/v0.0.1) (2016-12-11) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
|
||
const changelogPath = path.resolve(__dirname, '..', 'CHANGELOG.md'); | ||
|
||
const changelog = fs.readFileSync(changelogPath, 'utf8'); | ||
|
||
const fixedChangelog = changelog.replace(/\(([A-Za-z0-9]{8})\)/g, | ||
(match, commitID) => `([${commitID}](https://github.com/marshallofsound/electron-forge/commit/${commitID}))` | ||
).replace(/#### ([0-9]+\.[0-9]+\.[0-9]+) /g, | ||
(match, version) => `#### [${version}](https://github.com/MarshallOfSound/electron-forge/releases/tag/v${version}) ` | ||
); | ||
|
||
fs.writeFileSync(changelogPath, fixedChangelog); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters