Skip to content

Commit d7f9169

Browse files
authored
Merge pull request #16 from LFDT-Lockness/update-changelog-script
Update changelog script
2 parents 55faeaa + 97e036c commit d7f9169

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)