diff --git a/.cargo/cliff.toml b/.cargo/cliff.toml index 5e4cfb8..cbbb57b 100644 --- a/.cargo/cliff.toml +++ b/.cargo/cliff.toml @@ -21,9 +21,9 @@ body = """ {% else %} ## Pendiente de publicación {% endif %}\ -{% set base = "https://git.cillero.es/manuelcillero/pagetop" %}\ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} + {% for commit in commits %} {%- set msg = commit.message | split(pat="\n") @@ -41,8 +41,8 @@ body = """ | replace(from="📝 ", to="") | replace(from="💡 ", to="") -%} -{% set sha7 = commit.id | truncate(length=7, end="") %} -- {{ msg | trim }} ([{{ sha7 }}]({{ base }}/commit/{{ commit.id }}){% if commit.author.name != "Manuel Cillero" %} - {{ commit.author.name }}{% endif %}) + +- {{ msg | trim }} {% if commit.author.name != "Manuel Cillero" %} - {{ commit.author.name }}{% endif %} {% endfor %}{% endfor %} """ diff --git a/tools/changelog.sh b/tools/changelog.sh index 13333d4..2668ec6 100755 --- a/tools/changelog.sh +++ b/tools/changelog.sh @@ -35,6 +35,10 @@ cd "$(dirname "$0")/.." || exit 1 # Determina ruta del archivo y ámbito de los archivos afectados para el crate # ------------------------------------------------------------------------------ case "$CRATE" in + pagetop-statics) + CHANGELOG_FILE="helpers/pagetop-statics/CHANGELOG.md" + PATH_FLAGS=(--include-path "helpers/pagetop-statics/**/*") + ;; pagetop-build) CHANGELOG_FILE="helpers/pagetop-build/CHANGELOG.md" PATH_FLAGS=(--include-path "helpers/pagetop-build/**/*") @@ -46,6 +50,7 @@ case "$CRATE" in pagetop) CHANGELOG_FILE="CHANGELOG.md" PATH_FLAGS=( + --exclude-path "helpers/pagetop-statics/**/*" --exclude-path "helpers/pagetop-build/**/*" --exclude-path "helpers/pagetop-macros/**/*" )