summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-09-06 12:17:01 -0400
committerOz Linden <oz@lindenlab.com>2016-09-06 12:17:01 -0400
commit9a1edafbf1e2ec5a4db3085bc5738527c4b090a8 (patch)
tree6af6ecfa7d373c79d945041435e368ecb1622c9b
parent32d52ec240d77e4a2cdf42b6c1ca5c9d7a9650a8 (diff)
use debian package names in uploads, set private according to
new convention
-rwxr-xr-xbuild.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index ea3e6b6a72..7213bad017 100755
--- a/build.sh
+++ b/build.sh
@@ -298,7 +298,7 @@ then
if $build_viewer_deb && [ "$last_built_variant" == "Release" ]
then
begin_section "Build Viewer Debian Package"
- have_private_repo=false
+
# mangle the changelog
dch --force-bad-version \
--distribution unstable \
@@ -328,11 +328,12 @@ then
# upload debian package and create repository
begin_section "Upload Debian Repository"
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
for deb_file in `/bin/ls ../packages_private/*.deb 2>/dev/null`; do
- upload_output debian $deb_file binary/octet-stream
- have_private_repo=true
+ deb_pkg=$(basename "$deb_file" | sed 's,_.*,,')
+ upload_output "debian $deb_pkg" $deb_file binary/octet-stream private
done
create_deb_repo