Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jriguera committed Mar 3, 2023
1 parent 5a9f5ed commit 0433010
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions create-final-public-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ GITHUB_REPO="SpringerPE/mtail-boshrelease"
###

BOSH_CLI=${BOSH_CLI:-bosh}
S3CMD=${S3CMD:-s3cmd}
JQ=jq
CURL="curl -s"
SHA1="sha1sum -b"
Expand Down Expand Up @@ -77,7 +76,7 @@ esac


# Get the last git commit made by this script
lastcommit=$(git log --format="%h" --grep="$RELEASE v*" | head -1)
lastcommit=$(git log --no-walk --tags --pretty="%h %s" --grep="mtail v*" | awk 'NR==1{ print $1 }')
echo "* Changes since last version with commit $lastcommit: "
git_changes=$(git log --pretty="%h %aI %s (%an)" $lastcommit..@ | sed 's/^/- /')
if [ -z "$git_changes" ]
Expand Down

0 comments on commit 0433010

Please sign in to comment.