We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813ce08 commit 7f48b25Copy full SHA for 7f48b25
update-changelog.sh
@@ -1,8 +1,12 @@
1
#!/usr/bin/env bash
2
set -euo pipefail
3
4
-# 1. Point to src/CHANGELOG.md instead of root
5
-CHANGELOG_FILE="src/CHANGELOG.md"
+
+SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
6
7
+# Then build a full absolute path to the changelog file, assuming
8
+# 'src/CHANGELOG.md' is relative to the script's directory.
9
+CHANGELOG_FILE="$SCRIPT_DIR/src/CHANGELOG.md"
10
CUTOFF_DATE="2025-01-13"
11
TIMEZONE="America/Los_Angeles"
12
0 commit comments