mirror of
https://github.com/eggjs/egg.git
synced 2024-12-04 07:14:30 +00:00
10 lines
353 B
Bash
Executable File
10 lines
353 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
REPO=$(git config --get remote.origin.url | sed 's/git@\(.*\):\(.*\)\.git/http:\/\/\1\/\2/g')
|
|
LAST_TAG=$(git describe --tags --abbrev=0)
|
|
LAST_TAG_DATE=$(git show -s --format=%cd $LAST_TAG)
|
|
FORMAT=" * [[\`%h\`]($REPO/commit/%H)] - %s (%aN <<%ae>>)"
|
|
|
|
git fetch
|
|
git log --pretty=format:"$FORMAT" --since="$LAST_TAG_DATE" --no-merges
|