Fixing tag list for correct package number
This commit is contained in:
parent
8aec313e11
commit
82df5bffea
|
@ -9,7 +9,7 @@ fi
|
||||||
|
|
||||||
# Get commits log as changelog
|
# Get commits log as changelog
|
||||||
|
|
||||||
tags=$(git tag master -l "release/*")
|
tags=$(git tag master -l "release/*"|sort -r)
|
||||||
|
|
||||||
if [[ -z ${tags} ]]
|
if [[ -z ${tags} ]]
|
||||||
then
|
then
|
||||||
|
@ -30,6 +30,7 @@ do
|
||||||
|
|
||||||
project_name=$(get_opt project_name)
|
project_name=$(get_opt project_name)
|
||||||
version=${tag#*/} #$(get_opt version 0.0.0)
|
version=${tag#*/} #$(get_opt version 0.0.0)
|
||||||
|
version=${version/_/-} #$(get_opt version 0.0.0)
|
||||||
distribution=$(get_opt distribution UNRELEASED)
|
distribution=$(get_opt distribution UNRELEASED)
|
||||||
urgency=$(get_opt urgency low)
|
urgency=$(get_opt urgency low)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue