File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ command -v git >/dev/null || { echo "git is not installed" 1>&2; exit 127; }
1616command -v node > /dev/null || { echo " node is not installed" 1>&2 ; exit 127; }
1717command -v awk > /dev/null || { echo " awk is not installed" 1>&2 ; exit 127; }
1818
19- git log --oneline --no-decorate $( git tag | tail -n1) ..HEAD |
19+ git log --oneline --no-decorate $( git tag | sort -V | tail -n1) ..HEAD |
2020 awk {' first=$1; $1=""; print ""$0"\\n"first""' } | sed ' s/^ //' |
2121 $DIR /parse-commits.js
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ command -v $BROWSER >/dev/null || { echo "$BROWSER was not found" 1>&2; exit 127
77
88git push origin master
99
10- VERSION=$( git tag | tail -n1 | awk -F. ' { print $1"."$2+1".0" }' )
10+ VERSION=$( git tag | sort -V | tail -n1 | awk -F. ' { print $1"."$2+1".0" }' )
1111
1212URL=" https://github.com/jneidel/dotfiles/releases/new?tag=$VERSION &title=Recent%20changes%20to%20my%20dotfiles%20($VERSION )&body="
1313$BROWSER " $URL $( $DIR /changelog/generate-changelog) " > /dev/null 2>&1 &
You can’t perform that action at this time.
0 commit comments