Skip to content
Snippets Groups Projects
Commit b9cf0216 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Do not sign with the WLCG signature for (pre-)release candidates

parent cabd183e
No related branches found
No related tags found
1 merge request!1Add Ubuntu 2404 (noble numbat)
......@@ -318,7 +318,7 @@ elif [ "$step" == "build" ] || [ "$step" == "rebuild" ]; then
if [ "$step" == "rebuild" ]; then
if [ "${brn#ubuntu}" == ${brn} ]; then # NOT Ubuntu
if ! ${use_rpmbuild}; then
echo "ERROR! Step '--$step' is not available on $brn"
echo "ERROR! Step '--$step' is not available on $brn"
usage
fi
fi
......@@ -623,20 +623,20 @@ elif [ "$step" == "release" ]; then
wget -q https://koji.cern.ch/kojifiles/packages/${nam}/${vrs}/${dis}/src/${rpmsr} -O ${tmpd}/${rpmsr}
# Is this a (pre)-release-candidate?
if ${is_rc}; then
# (Pre)-release-candidate: do not distribute for installation
# Sign (without installing) for the WLCG repository
# (Pre)-release-candidate: do not distribute for installation
# No longer sign (without installing) for the WLCG repository
pushd ${tmpd} > /dev/null
printf "=== Sign rpm's with the WLCG signature ===\n"
${wlcgsign} -signonly ${rpm64}
${wlcgsign} -signonly ${rpmsr}
printf "\n"
###printf "=== Sign rpm's with the WLCG signature ===\n"
###${wlcgsign} -signonly ${rpm64}
###${wlcgsign} -signonly ${rpmsr}
###printf "\n"
popd > /dev/null
# Do not install in WLCG or promote to VR-stable in koji
echo "WARNING: tag ${tag} is a (pre-)release-candidate"
echo "WARNING: skip installation in WLCG and SLC6/CC7 repos"
else
# Production release
# Sign and install in the WLCG repository
# Production release
# Sign and install in the WLCG repository
pushd ${tmpd} > /dev/null
printf "=== Sign and install rpm's in the the WLCG repo ===\n"
${wlcgsign} ${rpm64}
......@@ -654,6 +654,7 @@ elif [ "$step" == "release" ]; then
fi
fi
fi
printf "\n"
fi
# Update, commit and push the README file for the new release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment