fix(git): Switched from taggerdate to creatordate for latest recognition
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0a2628d5c6
commit
562a7542f3
@ -25,8 +25,8 @@ export GIT_COMMITTER_EMAIL=${DRONE_COMMIT_AUTHOR_EMAIL}
|
||||
|
||||
git fetch --tags
|
||||
|
||||
CURRENTTAG=$(git tag --sort=-taggerdate | head -n 1)
|
||||
PREVIOUSTAG=$(git tag --sort=-taggerdate | head -n 2 | tail -n 1)
|
||||
CURRENTTAG=$(git tag --sort=-creatordate | head -n 1)
|
||||
PREVIOUSTAG=$(git tag --sort=-creatordate | head -n 2 | tail -n 1)
|
||||
echo "$PREVIOUSTAG..$CURRENTTAG"
|
||||
ALLCHANGES=$(npx -y @philippdormann/changelogen@0.7.6 --from $PREVIOUSTAG --to $CURRENTTAG --no-output | sed 's/"/\\"/g' | tail -n +6)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user