Explorar o código

chore: update changelog

kylo252 %!s(int64=3) %!d(string=hai) anos
pai
achega
f92a0d610c
Modificáronse 3 ficheiros con 18 adicións e 0 borrados
  1. 2 0
      .gitignore
  2. 1 0
      CHANGELOG.md
  3. 15 0
      utils/ci/update_changelog.sh

+ 2 - 0
.gitignore

@@ -27,3 +27,5 @@ lua/lv-user-config/
 *.bak
 *.backup
 *.old
+
+.luarc.json

+ 1 - 0
CHANGELOG.md

@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
 ### <!-- 1 --> Features
 
 - _(plugins)_ add support for packer snapshots (#2351)
+- add option to set maximum cmp menu width (#2425)
 
 ### <!-- 2 --> Bugfix
 

+ 15 - 0
utils/ci/update_changelog.sh

@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+set -eo pipefail
+
+BRANCH="$(git rev-parse --abbrev-ref HEAD)"
+
+if [ "$BRANCH" != "master" ]; then
+  exit 0
+fi
+
+REPO_DIR="$(git rev-parse --show-toplevel)"
+LATEST_TAG="$(git describe --tags --abbrev=0)"
+CONFIG_FILE="$REPO_DIR/.github/workflows/cliff.toml"
+CHANGELOG="$REPO_DIR/CHANGELOG.md"
+
+git -C "$REPO_DIR" cliff "$LATEST_TAG"..HEAD -u -c "$CONFIG_FILE" -p "$CHANGELOG"