Skip to content

Commit

Permalink
Merge pull request #120 from ivanpk/patch-prerelease
Browse files Browse the repository at this point in the history
Only set pre_tag to initial version if no previous was found and it i…
  • Loading branch information
anothrNick committed Sep 1, 2021
2 parents 9885a4f + 22f1a11 commit 937b670
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Expand Up @@ -62,7 +62,10 @@ if [ -z "$tag" ]
then
log=$(git log --pretty='%B')
tag="$initial_version"
pre_tag="$initial_version"
if [ -z "$pre_tag" ] && $pre_release
then
pre_tag="$initial_version"
fi
else
log=$(git log $tag..HEAD --pretty='%B')
fi
Expand Down

0 comments on commit 937b670

Please sign in to comment.