vim-update.sh: F36+ bodhi-client doesnt have --user
This commit is contained in:
parent
b6fb8ebdab
commit
3e31826a83
@ -119,6 +119,11 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
|
|
||||||
for branch in "${branches[@]:(1)}";
|
for branch in "${branches[@]:(1)}";
|
||||||
do
|
do
|
||||||
|
if [ "x$branch" == "xf35" ]
|
||||||
|
then
|
||||||
|
BODHI_USER="--user $(id -un)"
|
||||||
|
fi
|
||||||
|
|
||||||
# switch to branch
|
# switch to branch
|
||||||
$debug fedpkg switch-branch $branch
|
$debug fedpkg switch-branch $branch
|
||||||
|
|
||||||
@ -164,7 +169,7 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
# not have an update in testing
|
# not have an update in testing
|
||||||
if [ $branch != "rawhide" ] || [ ${bodhi_enabled[@]: $bodhi_enabled_index: 1} -eq 1 ]; then
|
if [ $branch != "rawhide" ] || [ ${bodhi_enabled[@]: $bodhi_enabled_index: 1} -eq 1 ]; then
|
||||||
# uses 'id' value for updates -> your username in OS must match with your username in Fedora accounts
|
# uses 'id' value for updates -> your username in OS must match with your username in Fedora accounts
|
||||||
$debug bodhi updates new --user $(id -un) --type enhancement --notes "The newest upstream commit" --request testing --autotime --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}.${LASTPLFILLED}-1.${releases[@]: $release_index: 1}
|
$debug bodhi updates new ${BODHI_USER} --type enhancement --notes "The newest upstream commit" --request testing --autotime --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}.${LASTPLFILLED}-1.${releases[@]: $release_index: 1}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Error when building package for $branch"
|
echo "Error when building package for $branch"
|
||||||
|
Loading…
Reference in New Issue
Block a user