Fixing tag list for correct package number

This commit is contained in:
Philippe Caseiro 2015-08-20 17:01:10 +02:00
parent 8aec313e11
commit 82df5bffea

View File

@ -9,7 +9,7 @@ fi
# Get commits log as changelog
tags=$(git tag master -l "release/*")
tags=$(git tag master -l "release/*"|sort -r)
if [[ -z ${tags} ]]
then
@ -30,6 +30,7 @@ do
project_name=$(get_opt project_name)
version=${tag#*/} #$(get_opt version 0.0.0)
version=${version/_/-} #$(get_opt version 0.0.0)
distribution=$(get_opt distribution UNRELEASED)
urgency=$(get_opt urgency low)