parent
31fdbccfad
commit
c19c4db897
5
abra
5
abra
@ -1943,8 +1943,13 @@ sub_recipe_release() {
|
|||||||
|
|
||||||
if [ "${#RECIPE_VERSIONS[@]}" -gt 0 ]; then
|
if [ "${#RECIPE_VERSIONS[@]}" -gt 0 ]; then
|
||||||
latest_version="${RECIPE_VERSIONS[-1]}"
|
latest_version="${RECIPE_VERSIONS[-1]}"
|
||||||
|
if [ "$force" = "true" ]; then
|
||||||
latest_version_message=$(git tag -l "$latest_version" --format='%(contents)')
|
latest_version_message=$(git tag -l "$latest_version" --format='%(contents)')
|
||||||
|
else
|
||||||
|
latest_version_message=$(git show -s --format=%s)
|
||||||
|
fi
|
||||||
info "Latest available version: '$latest_version'"
|
info "Latest available version: '$latest_version'"
|
||||||
|
info "Latest verion message: '$latest_version_message'"
|
||||||
else
|
else
|
||||||
latest_version=""
|
latest_version=""
|
||||||
latest_version_message="Initial tagged release"
|
latest_version_message="Initial tagged release"
|
||||||
|
Reference in New Issue
Block a user