echo -e " -R <rsync options> "
echo -e " -P <public key file> "
echo -e " -c <changelogfile> "
+ echo -e " -m <MDG repos> "
exit 1
}
echo "BUILD_NUMBER: $BUILD_NUMBER"
}
+MDG_REPOS="RO osmclient openvim SO UI IM devops"
IN_REPO="unstable"
OUT_REPO="stable"
GPGKEY=71C0472C
PUBLIC_KEY_FILE=~/OSM\ ETSI\ Release\ Key.gpg
CHANGE_LOG_FILE=
-while getopts ":p:i:o:k:j::d:b:r:h:R:P:c:" o; do
+while getopts ":p:i:o:k:j::d:b:r:h:R:P:c:m:" o; do
case "${o}" in
p)
PASSPHRASE_FILE=${OPTARG}
c)
CHANGE_LOG_FILE=${OPTARG}
;;
+ m)
+ MDG_REPOS=${OPTARG}
+ ;;
*)
usage
exit 1
cd $BASE_DIR
-for i in RO osmclient openvim SO UI IM; do
+for i in $MDG_REPOS; do
# gpg sign the packages
dpkg-sig -g "$GPG_PASSPHRASE" -k $GPGKEY --sign builder pool/$i/*.deb