Skip to content

Commit 96bf425

Browse files
committed
Update changelog script
Signed-off-by: Denis Varlakov <denis@dfns.co>
1 parent d4d9bf8 commit 96bf425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/changelog.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ changelog_file=CHANGELOG.md;
77
git fetch origin "$m_branch:$m_branch" --depth=1
88

99
changed=0;
10-
for log in */"$changelog_file"; do
10+
for log in "$changelog_file" */"$changelog_file"; do
1111
dir=$(dirname "$log");
1212
# check if version changed
1313
if git diff "$m_branch" -- "$dir/Cargo.toml" | grep -q "^-version = "; then

0 commit comments

Comments
 (0)