Skip to content

Commit

Permalink
add --always to generate release notes without tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Oct 29, 2019
1 parent 42ee6b7 commit 09d4bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/github/github_get_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export GITHUB_TAG=${SEMVER}
echo ::set-env name=GITHUB_TAG::${GITHUB_TAG}
echo ::set-output name=GITHUB_TAG::${GITHUB_TAG}
echo "GITHUB_TAG:${GITHUB_TAG}"
export GIT_RELEASE_NOTES="$(git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"%h - %s (%an)<br>")"
export GIT_RELEASE_NOTES="$(git log $(git describe --tags --abbrev=0 --always)..HEAD --pretty=format:"%h - %s (%an)<br>")"
echo ::set-env name=GIT_RELEASE_NOTES::${GIT_RELEASE_NOTES}
echo ::set-output name=GIT_RELEASE_NOTES::${GIT_RELEASE_NOTES}

Expand Down

0 comments on commit 09d4bc3

Please sign in to comment.