scripts: Use get_os.sh for packaging

Use get_os.sh for determining which distribution and version packages
are built for, and upload accordingly.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2015-06-01 12:20:25 +00:00
commit 61a4706c76
3 changed files with 13 additions and 6 deletions

View file

@ -128,7 +128,8 @@ done
chmod 755 rules
cd ..
dch --create --newversion \$VERSION-\$RELEASE --controlmaint --package \$NAME --distribution stable "Release built by $0"
dch --create --newversion \$VERSION-\$RELEASE --controlmaint --package \$NAME --force-distribution --distribution \$DISTRIBUTION "Release built by $0"
echo "Produced by $0, the output should be in the \"debian\" sub-directory."
EOT