Empaquetage paquets binaires OK
This commit is contained in:
@ -61,15 +61,10 @@ do
|
||||
|
||||
# Define project_version opt if not defined
|
||||
if [ -z "$(get_opt project_version)" ]; then
|
||||
# Share computed package version
|
||||
# Share computed project version
|
||||
set_opt project_version "${version}"
|
||||
fi
|
||||
|
||||
# Native packages should not have a revision number
|
||||
if [ $(get_opt package_format) == 'native' ]; then
|
||||
package_version=$(echo ${version} | grep -oE '^[0-9.]+')
|
||||
fi
|
||||
|
||||
echo "${project_name} (${package_version}) ${distribution}; urgency=${urgency}" >> debian/changelog
|
||||
|
||||
echo >> debian/changelog
|
||||
|
Reference in New Issue
Block a user