projects
/
kamaki
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use devflow for packaging
[kamaki]
/
ci
/
autopkg_debian.sh
1
#!/usr/bin/env sh
2
set -e
3
4
BUILD_DIR=$1
5
BUILD_NUMBER=$2
6
PACKAGES_DIR=$1/$2
7
8
shift
9
shift
10
11
TEMP_DIR=$(mktemp -d /tmp/devflow_autopkg_XXXXXXX)
12
13
# Create the packages
14
devflow-autopkg snapshot -b $TEMP_DIR $@
15
16
# MOVE the packages
17
mkdir -p $PACKAGES_DIR
18
mv -n $TEMP_DIR/* $PACKAGES_DIR
19
20
echo "Moved packages to: $(pwd)/$PACKAGES_DIR"
21