From 09d4bc3f61ca1870e002fc36c6a0818cbc3683eb Mon Sep 17 00:00:00 2001 From: wildone Date: Tue, 29 Oct 2019 15:34:38 +1100 Subject: [PATCH] add --always to generate release notes without tags --- scripts/github/github_get_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/github/github_get_version.sh b/scripts/github/github_get_version.sh index aa40674..ec9a879 100755 --- a/scripts/github/github_get_version.sh +++ b/scripts/github/github_get_version.sh @@ -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)
")" +export GIT_RELEASE_NOTES="$(git log $(git describe --tags --abbrev=0 --always)..HEAD --pretty=format:"%h - %s (%an)
")" echo ::set-env name=GIT_RELEASE_NOTES::${GIT_RELEASE_NOTES} echo ::set-output name=GIT_RELEASE_NOTES::${GIT_RELEASE_NOTES}