Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Fixed bug which stopped git tags for version >9 being found
Browse files Browse the repository at this point in the history
  • Loading branch information
couling committed Apr 12, 2018
1 parent d42a685 commit 7200eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-project
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function create_dir {
function create_control {
grep -v 'Installed-Size:' "$source_folder/$source_file" > "$package_folder/DEBIAN/control"

version=`( cd "$source_folder" && git describe --tags --match v[0-9].[0-9]* ) || true`
version=`( cd "$source_folder" && git describe --tags --match v[0-9]*.[0-9]* ) || true`
if [ -n "$version" ]
then
temp_file=`mktemp "$package_folder/DEBIAN/control_XXX"`
Expand Down

0 comments on commit 7200eb9

Please sign in to comment.