Skip to content
Snippets Groups Projects
Commit 9a1edafb authored by Oz Linden's avatar Oz Linden
Browse files

use debian package names in uploads, set private according to

new convention
parent 32d52ec2
No related branches found
No related tags found
No related merge requests found
...@@ -298,7 +298,7 @@ then ...@@ -298,7 +298,7 @@ then
if $build_viewer_deb && [ "$last_built_variant" == "Release" ] if $build_viewer_deb && [ "$last_built_variant" == "Release" ]
then then
begin_section "Build Viewer Debian Package" begin_section "Build Viewer Debian Package"
have_private_repo=false
# mangle the changelog # mangle the changelog
dch --force-bad-version \ dch --force-bad-version \
--distribution unstable \ --distribution unstable \
...@@ -328,11 +328,12 @@ then ...@@ -328,11 +328,12 @@ then
# upload debian package and create repository # upload debian package and create repository
begin_section "Upload Debian Repository" begin_section "Upload Debian Repository"
for deb_file in `/bin/ls ../packages_public/*.deb ../*.deb 2>/dev/null`; do for deb_file in `/bin/ls ../packages_public/*.deb ../*.deb 2>/dev/null`; do
upload_output "deb" $deb_file binary/octet-stream deb_pkg=$(basename "$deb_file" | sed 's,_.*,,')
upload_output "debian $deb_pkg" $deb_file binary/octet-stream
done done
for deb_file in `/bin/ls ../packages_private/*.deb 2>/dev/null`; do for deb_file in `/bin/ls ../packages_private/*.deb 2>/dev/null`; do
upload_output debian $deb_file binary/octet-stream deb_pkg=$(basename "$deb_file" | sed 's,_.*,,')
have_private_repo=true upload_output "debian $deb_pkg" $deb_file binary/octet-stream private
done done
create_deb_repo create_deb_repo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment