-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
alexander.heidrich
committed
Feb 20, 2020
1 parent
f4eab23
commit 58e1687
Showing
2 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
#!/bin/bash | ||
|
||
#get tag of actual version | ||
actualVersionTag=$(git tag | tail -1) | ||
actualVersionHash=$(git rev-list -n 1 $actualVersionTag) | ||
ACTUAL_VERSION_TAG=$(git tag | tail -1) | ||
|
||
#get tag of the version before actual version | ||
beforeVersionTag=$(git tag | tail -3 | head -n 1) | ||
beforeVersionHash=$(git rev-list -n 1 $beforeVersionTag) | ||
PREVIOUS_VERSION_TAG=$(git tag | tail -3 | head -n 1) | ||
|
||
#echo $listOfTickets | ||
git log --pretty="format:%s" $beforeVersionHash..$actualVersionHash | ||
git log --pretty="format:%s" "$PREVIOUS_VERSION_TAG".."$ACTUAL_VERSION_TAG" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters