summaryrefslogtreecommitdiff
path: root/stage
blob: 15d061df35466d4ff22d49e3f68649bacf132513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/env bash

# Stage packages in queue to cppget.org/queue.cppget.org.
#
# Usage: publish [<rsync-options>]
#
usage="$0 [<rsync-options>]"

trap 'exit 1' ERR

cppget.org/publish \
  cppget.org/repository/1/queue/ \
  cppget.org:/var/bpkg/1/queue/ \
  $*

cppget.org/publish \
  cppget.org/repository/1/queue/ \
  queue.cppget.org:/var/bpkg/1/queue/ \
  $*