Skip to content

Commit

Permalink
Fix changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Apr 11, 2024
1 parent e925cf1 commit 92afee3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .cliff/build-changelogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const { execSync } = require('child_process');
const packageJson = require('../package.json');

const nextVersion = packageJson.version;
const changelogMdCmd = `git-cliff --config .cliff/cliff-changelog-md.toml -o CHANGELOG.md --tag ${nextVersion}`;
const changelogTxtCmd = `git-cliff --config .cliff/cliff-changelog-txt.toml -o changelog.txt --tag ${nextVersion}`;
const readmeTxtCmd = `git-cliff --config .cliff/cliff-readme-txt.toml -o readme.txt --tag ${nextVersion}`;
const changelogMdCmd = `git-cliff --config .cliff/cliff-changelog-md.toml -o CHANGELOG.md --tag ${nextVersion} b49a73d..HEAD`;
const changelogTxtCmd = `git-cliff --config .cliff/cliff-changelog-txt.toml -o changelog.txt --tag ${nextVersion} b49a73d..HEAD`;
const readmeTxtCmd = `git-cliff --config .cliff/cliff-readme-txt.toml -o readme.txt --tag ${nextVersion} b49a73d..HEAD`;

try {
execSync(changelogMdCmd, { stdio: 'inherit' });
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file.

#### [1.0.2](https://github.com/AlecRust/brevwoo/releases/tag/1.0.2)

> 11 April 2024
- Improve plugin icon [`2c937d6`](https://github.com/AlecRust/brevwoo/commit/2c937d61a6a3676937e6705b70e4ee6c6f5cb485)
- Fix old dev commits in changelog [`1ed01b2`](https://github.com/AlecRust/brevwoo/commit/1ed01b20ee42412b767b2e2a89edd470731a005d)
- Remove "v" prefix from git-cliff commands [`3bea61e`](https://github.com/AlecRust/brevwoo/commit/3bea61efe59be025e4bd48441e6e605590a87d98)

#### [1.0.1](https://github.com/AlecRust/brevwoo/releases/tag/1.0.1)

> 11 April 2024
Expand All @@ -12,4 +20,5 @@ All notable changes to this project will be documented in this file.

> 11 April 2024
- Initial public release
- Adjust changelog.txt formatting [`d9f5519`](https://github.com/AlecRust/brevwoo/commit/d9f5519abfb3cee46ee81f13ed26666ac9ebd1c9)
- Tidy for initial release [`9b99e03`](https://github.com/AlecRust/brevwoo/commit/9b99e034971f676365e511487b134eb3ff4cd94d)
8 changes: 7 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
== Changelog ==

2024-04-11 - version 1.0.2
* Improve plugin icon
* Fix old dev commits in changelog
* Remove "v" prefix from git-cliff commands

2024-04-11 - version 1.0.1
* Improve tag deletion SVN commit message

2024-04-11 - version 1.0.0
* Initial public release
* Adjust changelog.txt formatting
* Tidy for initial release
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,17 @@ Yes, the plugin uses the list ID, not the list name, so renaming a list in Brevo

== Changelog ==

= 1.0.2 - 2024-04-11 =

* Improve plugin icon
* Fix old dev commits in changelog
* Remove "v" prefix from git-cliff commands

= 1.0.1 - 2024-04-11 =

* Improve tag deletion SVN commit message

= 1.0.0 - 2024-04-11 =

* Initial public release
* Adjust changelog.txt formatting
* Tidy for initial release

0 comments on commit 92afee3

Please sign in to comment.