From b24265a73788fa46e757eca37ad7d1220880ef37 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Fri, 24 May 2024 10:10:43 +0900 Subject: [PATCH] chore: add verbose logging to git-cliff --- .github/workflows/cd.yaml | 3 ++- d | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 d diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 6e2a447..39d1769 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -25,9 +25,10 @@ jobs: uses: orhun/git-cliff-action@v3 with: config: cliff.toml - args: -l --strip header + args: --current -vv --strip header env: OUTPUT: ${{ github.workspace }}-CHANGELOG.txt + run: cat ${{ github.workspace }}-CHANGELOG.txt - name: Release uses: softprops/action-gh-release@v2 diff --git a/d b/d new file mode 100644 index 0000000..d8d9b3d --- /dev/null +++ b/d @@ -0,0 +1,41 @@ +git-cliff 2.2.1 +git-cliff contributors +A highly customizable changelog generator ⛰️ + +Usage: + git-cliff [FLAGS] [OPTIONS] [--] [RANGE] + +FLAGS: + -h, --help Prints help information + -V, --version Prints version information + -v, --verbose... Increases the logging verbosity + --bump Bumps the version for unreleased changes + --bumped-version Prints bumped version for unreleased changes + -l, --latest Processes the commits starting from the latest tag + --current Processes the commits that belong to the current tag + -u, --unreleased Processes the commits that do not belong to a tag + --topo-order Sorts the tags topologically + --no-exec Disables the external command execution + -x, --context Prints changelog context as JSON + +OPTIONS: + -i, --init [] Writes the default configuration file to cliff.toml + -c, --config Sets the configuration file [env: GIT_CLIFF_CONFIG=] [default: cliff.toml] + -w, --workdir Sets the working directory [env: GIT_CLIFF_WORKDIR=] + -r, --repository ... Sets the git repository [env: GIT_CLIFF_REPOSITORY=] + --include-path ... Sets the path to include related commits [env: GIT_CLIFF_INCLUDE_PATH=] + --exclude-path ... Sets the path to exclude related commits [env: GIT_CLIFF_EXCLUDE_PATH=] + --tag-pattern Sets the regex for matching git tags [env: GIT_CLIFF_TAG_PATTERN=] + --with-commit ... Sets custom commit messages to include in the changelog [env: GIT_CLIFF_WITH_COMMIT=] + --skip-commit ... Sets commits that will be skipped in the changelog [env: GIT_CLIFF_SKIP_COMMIT=] + -p, --prepend Prepends entries to the given changelog file [env: GIT_CLIFF_PREPEND=] + -o, --output [] Writes output to the given file [env: GIT_CLIFF_OUTPUT=] + -t, --tag Sets the tag for the latest version [env: GIT_CLIFF_TAG=] + -b, --body