This commit is contained in:
Trevor Batley 2023-10-18 09:31:59 +11:00
parent b27f3c1881
commit a2e6b600e6

View File

@ -58,6 +58,14 @@ if [[ -n "$SRC_RPM_DIR" && -n "$BIN_RPM_DIR" ]]; then
rm -rf "$STAGING_RPM_DIR" "$HOME/.koji" rm -rf "$STAGING_RPM_DIR" "$HOME/.koji"
fi fi
# for RELEASE in (10 11) ; do
# PKGMANAGER = "dnf"
# if [[ $RELEASE == 10 ]] ; then PKGMANAGER = "yum" ; fi
# for REPO in (os contribs addons updates updates-testing testing) ; do
# TAG = "sme$RELEASE-$REPO"
# sudo -u kojiadmin koji add-tag dist-"$TAG"
# sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.package_manager=$PKGMANAGER
for TAG in ${TAG_NAME} ; do for TAG in ${TAG_NAME} ; do
sudo -u kojiadmin koji add-tag dist-"$TAG" sudo -u kojiadmin koji add-tag dist-"$TAG"
if [[ $TAG == "smeos10" || $TAG == "smecontribs10" ]] ; then if [[ $TAG == "smeos10" || $TAG == "smecontribs10" ]] ; then