vim-update.sh: use id for getting username
This commit is contained in:
parent
c81678a1eb
commit
b7937e6d86
@ -163,7 +163,8 @@ if [ $CHANGES -ne 0 ]; then
|
||||
# if branch isn't rawhide or branch is enabled in bodhi, create the update if newer branch does
|
||||
# not have an update in testing
|
||||
if [ $branch != "rawhide" ] || [ ${bodhi_enabled[@]: $bodhi_enabled_index: 1} -eq 1 ]; then
|
||||
$debug bodhi updates new --user $(rpmdev-packager) --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}
|
||||
# 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}
|
||||
fi
|
||||
else
|
||||
echo "Error when building package for $branch"
|
||||
|
Loading…
Reference in New Issue
Block a user