Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 7276cab

Browse files
committed
Changelog: Diff between tag & dev vs master & dev
Update changelog.sh
1 parent e398735 commit 7276cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/changelog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function commits() {
4848
log \
4949
--reverse \
5050
--pretty=format:"%s ([#%h][])" \
51-
develop...master | \
51+
develop...$PREVIOUS_VERSION | \
5252
sed 's/\(^[^:]*\):/- **\1**:/g' | \
5353
sed 's/\[skip ci\]//g' | \
5454
sed 's/\[minor\]//g' \
@@ -74,7 +74,7 @@ function commit_ref() {
7474
log \
7575
--reverse \
7676
--pretty=format:"[#%h]: $REPO/commit/%h" \
77-
develop...master \
77+
develop...$PREVIOUS_VERSION \
7878
>> $CHANGELOG
7979
}
8080

0 commit comments

Comments
 (0)