From 79eeade31c026332af14a7180b206c6d9e1bd66a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 15:31:44 +0000 Subject: [PATCH] [GitHub Actions] Assemble CHANGELOG and Increment Versions (#601) Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> --- .github/CFF/aeruginous.cff | 4 +- .version | 2 +- CHANGELOG.ron | 122 ++++++++++-------- CITATION.cff | 4 +- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- ...Hub_Actions_inc-ver-further-test-cases.ron | 8 -- ..._154534_GitHub_Actions_curl-chrono-cff.ron | 8 -- ..._GitHub_Actions_auto-publish-crates-io.ron | 8 -- src/lib.rs | 4 +- 11 files changed, 81 insertions(+), 85 deletions(-) delete mode 100644 changelog.d/20230807_171252_GitHub_Actions_inc-ver-further-test-cases.ron delete mode 100644 changelog.d/20230811_154534_GitHub_Actions_curl-chrono-cff.ron delete mode 100644 changelog.d/20230815_151324_GitHub_Actions_auto-publish-crates-io.ron diff --git a/.github/CFF/aeruginous.cff b/.github/CFF/aeruginous.cff index 7d2ab289..15b1143e 100644 --- a/.github/CFF/aeruginous.cff +++ b/.github/CFF/aeruginous.cff @@ -4,7 +4,7 @@ authors: family-names: Matthes given-names: Kevin cff-version: 1.2.0 -date-released: 2023-08-01 +date-released: 2023-08-15 keywords: - Rust - aeruginous @@ -33,4 +33,4 @@ repository-artifact: https://crates.io/crates/aeruginous repository-code: https://github.com/kevinmatthes/aeruginous-rs title: aeruginous-rs url: https://github.com/kevinmatthes/aeruginous-rs -version: 3.0.4 +version: 3.0.5 diff --git a/.version b/.version index b0f2dcb3..eca690e7 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -3.0.4 +3.0.5 diff --git a/CHANGELOG.ron b/CHANGELOG.ron index a0592ea4..cb23ce6c 100644 --- a/CHANGELOG.ron +++ b/CHANGELOG.ron @@ -4,6 +4,26 @@ }, introduction: Some("All notable changes to this project are documented in this file.\n\nThe format is based on `Keep a Changelog`_."), sections: [ + ( + references: {}, + version: ( + major: 3, + minor: 0, + patch: 5, + ), + released: "2023-08-15T15:22:07.642600459+00:00", + introduction: None, + changes: ( + references: {}, + changes: { + "Added": [ + "CI: automatically publish generated releases to crates.io", + "CI: automatically update CFF entry of chrono on certain pushes to main", + "increment-version: further test cases", + ], + }, + ), + ), ( references: {}, version: ( @@ -16,14 +36,14 @@ changes: ( references: {}, changes: { - "Fixed": [ - "Renovate: submit one bundled lock file maintenance per week", - ], "Added": [ "increment-version: add dedicated mode for CITATION.cff files", ".github/workflows/rustfmt.yml", "CI: automatically update CFF entry of sysexits-rs on certain pushes to main", ], + "Fixed": [ + "Renovate: submit one bundled lock file maintenance per week", + ], "Changed": [ "indent Rust source files by 4 spaces", "indent JSON5 files by 4 spaces", @@ -73,14 +93,14 @@ changes: ( references: {}, changes: { - "Fixed": [ - "CI: prevent failing on CFF update PR merge", - ], "Changed": [ "Renovate: disable automerge explicitly", "Renovate: listen to renamed ``cffconvert`` repository", "comment-changes: work on entire commit message instead of certain part", ], + "Fixed": [ + "CI: prevent failing on CFF update PR merge", + ], "Removed": [ "CFF: automatically update Clap entry with Renovate", "CI: ``cargo nextest r``", @@ -105,6 +125,14 @@ changes: ( references: {}, changes: { + "Changed": [ + "call actionlint Docker image directly", + "rename cffs/expectation.cff to cffs/expectation.yml", + "CommentChanges: refactor logic", + "Fragment: apply new ToMd and ToRst traits", + "call cffconvert Docker image directly", + "rename tests/ron_traits.rs to tests/rusty_object_notation.rs", + ], "Fixed": [ "prevent release generation in forks", "do not allow RONLOG assemblies in forks", @@ -129,14 +157,6 @@ "Renovate: track cffconvert Docker image", "FragmentExportFormat", ], - "Changed": [ - "call actionlint Docker image directly", - "rename cffs/expectation.cff to cffs/expectation.yml", - "CommentChanges: refactor logic", - "Fragment: apply new ToMd and ToRst traits", - "call cffconvert Docker image directly", - "rename tests/ron_traits.rs to tests/rusty_object_notation.rs", - ], }, ), ), @@ -152,6 +172,18 @@ changes: ( references: {}, changes: { + "Removed": [ + "Dependabot: configuration", + ".github/workflows/cargo-update.yml", + ".github/workflows/msrv.yml", + "CI: manual trigger for release workflow", + "PatternReader", + "src/pattern/reader.rs", + ], + "Fixed": [ + "CI: skip compilation on RONLOG assembly", + "show previously hidden Clap aliases", + ], "Added": [ "CFF: entry for ``clap`` v4.3.10", "Renovate: configuration", @@ -176,18 +208,6 @@ "CI: apply new increment-version features", "cffreference: refactor logic", ], - "Fixed": [ - "CI: skip compilation on RONLOG assembly", - "show previously hidden Clap aliases", - ], - "Removed": [ - "Dependabot: configuration", - ".github/workflows/cargo-update.yml", - ".github/workflows/msrv.yml", - "CI: manual trigger for release workflow", - "PatternReader", - "src/pattern/reader.rs", - ], }, ), ), @@ -203,6 +223,16 @@ changes: ( references: {}, changes: { + "Fixed": [ + "CI: rename RONLOG assembly workflow job", + "comment-changes: create missing target directories", + ], + "Added": [ + "CI: create release on RONLOG assembly", + "enum_trait", + "tests/macros.rs", + "CI: settings for the automated release notes", + ], "Changed": [ "move RonlogSection definition to RONLOG source file", "move RonlogAction definition to RONLOG source file", @@ -218,16 +248,6 @@ "tests/getters.rs", "tests/implement.rs", ], - "Added": [ - "CI: create release on RONLOG assembly", - "enum_trait", - "tests/macros.rs", - "CI: settings for the automated release notes", - ], - "Fixed": [ - "CI: rename RONLOG assembly workflow job", - "comment-changes: create missing target directories", - ], }, ), ), @@ -246,17 +266,17 @@ "Fixed": [ "CI: redundant test runs", ], + "Changed": [ + "CI: rename release preparation workflow to ``ronlog.yml``", + "README: enhance documentation of RONLOG mode", + "CI: mirror README from src/lib.rs during release workflow", + ], "Added": [ "CFF: entry for ``clap`` v4.3.4", "CI: real release workflow", "comment-changes: stop at certain commit SHA; fixes #336", "CFF: entry for ``clap`` v4.3.5", ], - "Changed": [ - "CI: rename release preparation workflow to ``ronlog.yml``", - "README: enhance documentation of RONLOG mode", - "CI: mirror README from src/lib.rs during release workflow", - ], }, ), ), @@ -272,16 +292,6 @@ changes: ( references: {}, changes: { - "Removed": [ - "CFF: entries of outdated versions", - "bump2version: configuration", - "src/traits/to_ron.rs", - "src/traits/from_ron.rs", - ], - "Fixed": [ - "CI: Bash style issues", - "ToRon::to_ron: missing trailing newline at the end", - ], "Added": [ "CI: lint GitHub Action workflows", "CFF: project keyword ``ronlog``", @@ -316,6 +326,16 @@ "CI: assemble RONLOG on release", "CI: create RON fragments", ], + "Removed": [ + "CFF: entries of outdated versions", + "bump2version: configuration", + "src/traits/to_ron.rs", + "src/traits/from_ron.rs", + ], + "Fixed": [ + "CI: Bash style issues", + "ToRon::to_ron: missing trailing newline at the end", + ], }, ), ), diff --git a/CITATION.cff b/CITATION.cff index e22ab99a..fd0144e8 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -4,7 +4,7 @@ authors: family-names: Matthes given-names: Kevin cff-version: 1.2.0 -date-released: 2023-08-01 +date-released: 2023-08-15 keywords: - Rust - aeruginous @@ -33,7 +33,7 @@ repository-artifact: https://crates.io/crates/aeruginous repository-code: https://github.com/kevinmatthes/aeruginous-rs title: aeruginous-rs url: https://github.com/kevinmatthes/aeruginous-rs -version: 3.0.4 +version: 3.0.5 references: - type: software date-released: 2023-05-31 diff --git a/Cargo.lock b/Cargo.lock index f25163a7..15d2a5da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "aeruginous" -version = "3.0.4" +version = "3.0.5" dependencies = [ "anstyle", "cargo-lock", diff --git a/Cargo.toml b/Cargo.toml index 2bf2fe33..f46120be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,4 +34,4 @@ name = "aeruginous" readme = "README.md" repository = "https://github.com/kevinmatthes/aeruginous-rs" rust-version = "1.71.0" -version = "3.0.4" +version = "3.0.5" diff --git a/README.md b/README.md index 71eb85bc..eb7ffdb5 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ The Aeruginous Open Source Development Toolbox. 1. [`uncrlf`](#uncrlf) --> -The current code coverage is **63.71%**. +The current code coverage is **65.05%**. ## License diff --git a/changelog.d/20230807_171252_GitHub_Actions_inc-ver-further-test-cases.ron b/changelog.d/20230807_171252_GitHub_Actions_inc-ver-further-test-cases.ron deleted file mode 100644 index 260af559..00000000 --- a/changelog.d/20230807_171252_GitHub_Actions_inc-ver-further-test-cases.ron +++ /dev/null @@ -1,8 +0,0 @@ -( - references: {}, - changes: { - "Added": [ - "increment-version: further test cases", - ], - }, -) diff --git a/changelog.d/20230811_154534_GitHub_Actions_curl-chrono-cff.ron b/changelog.d/20230811_154534_GitHub_Actions_curl-chrono-cff.ron deleted file mode 100644 index e94f83e9..00000000 --- a/changelog.d/20230811_154534_GitHub_Actions_curl-chrono-cff.ron +++ /dev/null @@ -1,8 +0,0 @@ -( - references: {}, - changes: { - "Added": [ - "CI: automatically update CFF entry of chrono on certain pushes to main", - ], - }, -) diff --git a/changelog.d/20230815_151324_GitHub_Actions_auto-publish-crates-io.ron b/changelog.d/20230815_151324_GitHub_Actions_auto-publish-crates-io.ron deleted file mode 100644 index 8e1a6ea4..00000000 --- a/changelog.d/20230815_151324_GitHub_Actions_auto-publish-crates-io.ron +++ /dev/null @@ -1,8 +0,0 @@ -( - references: {}, - changes: { - "Added": [ - "CI: automatically publish generated releases to crates.io", - ], - }, -) diff --git a/src/lib.rs b/src/lib.rs index 5b0b6651..cb0ec096 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,7 +79,7 @@ //! 1. [`uncrlf`](#uncrlf) //! --> //! -//! The current code coverage is **63.71%**. +//! The current code coverage is **65.05%**. //! //! ## License //! @@ -393,6 +393,6 @@ pub const SELF_DESCRIPTION: &str = "The Aeruginous Open Source Development Toolbox"; /// This crate's version. -pub const VERSION: &str = "v3.0.4"; +pub const VERSION: &str = "v3.0.5"; /******************************************************************************/