summaryrefslogtreecommitdiff
path: root/stage-pkg
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-02-24 15:44:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-02-24 15:44:35 +0200
commit757787725cffc24f6c4e353fefa63bf255007457 (patch)
treecce37b4ed8b88ac549d62aafb9fc5e04263bf514 /stage-pkg
parent135ce62b109cca705ca784942d5ef9dfc2f803dd (diff)
Updates for 0.9.0 releasev0.9.0
Diffstat (limited to 'stage-pkg')
-rwxr-xr-xstage-pkg17
1 files changed, 12 insertions, 5 deletions
diff --git a/stage-pkg b/stage-pkg
index 1a77e1f..6930fd9 100755
--- a/stage-pkg
+++ b/stage-pkg
@@ -12,7 +12,7 @@
# Distribute and regenerating only without publishing the repository.
#
# -q
-# Publish packages into the queue instead of staging.
+# Publish packages into the queue instead of staging. Implies -d.
#
usage="usage: etc/stage-pkg [<options>] <group> <dir>..."
@@ -25,6 +25,12 @@ set -o errtrace # Trap in functions.
function info () { echo "$*" 1>&2; }
function error () { info "$*"; exit 1; }
+# Make sure the build2 tools are runnable.
+#
+b --version >/dev/null
+bpkg --version >/dev/null
+bdep --version >/dev/null
+
repo_name="STAGE.BUILD2.ORG"
repo_dir="staging/repository/1"
repo_host1="stage.build2.org:/var/bpkg/1"
@@ -51,10 +57,11 @@ while [ $# -gt 0 ]; do
shift
;;
-q)
- repo_name="CPPGET.ORG/QUEUE"
- repo_dir="cppget.org/repository/1/queue"
- repo_host1="cppget.org:/var/bpkg/1/queue"
- repo_host2="queue.cppget.org:/var/bpkg/1/queue"
+ #repo_name="CPPGET.ORG/QUEUE"
+ repo_dir="cppget.org/queue/1/alpha"
+ #repo_host1="cppget.org:/var/bpkg/1/queue"
+ #repo_host2="queue.cppget.org:/var/bpkg/1/queue"
+ dist_only=true
shift
;;
*)