Skip to content

Commit 7f48b25

Browse files
committed
fix: testing changelog
1 parent 813ce08 commit 7f48b25

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

update-changelog.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
# 1. Point to src/CHANGELOG.md instead of root
5-
CHANGELOG_FILE="src/CHANGELOG.md"
4+
5+
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"
610
CUTOFF_DATE="2025-01-13"
711
TIMEZONE="America/Los_Angeles"
812

0 commit comments

Comments
 (0)