X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tools%2Fgen-repo.sh;h=b33291850ec571735a618a1a1506fab844a768e5;hb=8cc3a283b46f20b256b2044e505ac03a32fb2113;hp=5364e439153176eb9e9b67ebb5c01585cca0c5eb;hpb=5eab1c04b9145e62d491112e2f5fcd3e4287f0dc;p=osm%2Fdevops.git diff --git a/tools/gen-repo.sh b/tools/gen-repo.sh index 5364e439..b3329185 100755 --- a/tools/gen-repo.sh +++ b/tools/gen-repo.sh @@ -39,7 +39,7 @@ function dump_vars() { echo "BUILD_NUMBER: $BUILD_NUMBER" } -MDG_REPOS="RO osmclient openvim SO UI IM devops" +MDG_REPOS="RO osmclient openvim SO UI IM devops MON N2VC NBI common" IN_REPO="unstable" OUT_REPO="stable" GPGKEY=71C0472C @@ -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