projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
2d71d0d
)
Merge "Add releasefive build"
author
Mike Marchetti
<mmarchetti@sandvine.com>
Tue, 2 Oct 2018 18:34:36 +0000
(20:34 +0200)
committer
Gerrit Code Review
<root@osm.etsi.org>
Tue, 2 Oct 2018 18:34:36 +0000
(20:34 +0200)
tools/gen-repo.sh
patch
|
blob
|
history
diff --git
a/tools/gen-repo.sh
b/tools/gen-repo.sh
index
e0d1a66
..
b332918
100755
(executable)
--- a/
tools/gen-repo.sh
+++ b/
tools/gen-repo.sh
@@
-155,4
+155,12
@@
cd $CURR_DIR/$REPO_BASE
# copy over the changelog file
[ "$CHANGE_LOG_FILE" ] && cp "$CHANGE_LOG_FILE" osm/debian/$RELEASE_DIR
+IM_BASE="osm/debian/$RELEASE_DIR/pool/IM/osm-imdocs_"
+if ls "$IM_BASE"* 1> /dev/null 2>&1; then
+ IM_TMP_DIR=$(mktemp -d)
+ dpkg -x "$IM_BASE"* $IM_TMP_DIR
+ mkdir osm/debian/$RELEASE_DIR/docs
+ cp -R $IM_TMP_DIR/usr/share/osm-im osm/debian/$RELEASE_DIR/docs
+fi
+
rsync -avR $RSYNC_OPTIONS osm/debian/$RELEASE_DIR rsync://$RSYNC_USER_HOST/repos