Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
b13d0b7a
Commit
b13d0b7a
authored
12 years ago
by
Don Kjer
Browse files
Options
Downloads
Patches
Plain Diff
Adding stub for private artifacts
parent
9a7c6a4c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+10
-0
10 additions, 0 deletions
build.sh
with
10 additions
and
0 deletions
build.sh
+
10
−
0
View file @
b13d0b7a
...
@@ -312,6 +312,7 @@ then
...
@@ -312,6 +312,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"
local
have_private_repo
=
false
# mangle the changelog
# mangle the changelog
dch
--force-bad-version
\
dch
--force-bad-version
\
--distribution
unstable
\
--distribution
unstable
\
...
@@ -346,6 +347,7 @@ then
...
@@ -346,6 +347,7 @@ then
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_item debian_private
$deb_file
binary/octet-stream
upload_item debian_private
$deb_file
binary/octet-stream
have_private_repo
=
true
done
done
create_deb_repo
create_deb_repo
...
@@ -357,6 +359,14 @@ then
...
@@ -357,6 +359,14 @@ then
mv
$build_log_dir
/
$debian_repo_type
$build_log_dir
/
${
debian_repo_type
}
_pushed
mv
$build_log_dir
/
$debian_repo_type
$build_log_dir
/
${
debian_repo_type
}
_pushed
fi
fi
done
done
if
[
$have_private_repo
=
true
]
;
then
eval
"
$python_command
\"
$redirect
\"
'
\$
{private_S3PROXY_URL}
${
S3PREFIX
}
repo/
$repo
/rev/
$revision
/index.html'"
\
>
"
$build_log_dir
/private.html"
||
fatal generating redirect
upload_item global_redirect
"
$build_log_dir
/private.html"
text/html
fi
end_section
"Upload Debian Repository"
end_section
"Upload Debian Repository"
else
else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment