vim-update.sh - update script tried to push for previous version
This commit is contained in:
parent
1c4f7a3c75
commit
9bf4b1757d
@ -98,11 +98,7 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
if [ "$pending_update" == "" ] && [ "$testing_update" == "" ]; then
|
if [ "$pending_update" == "" ] && [ "$testing_update" == "" ]; then
|
||||||
fedpkg build
|
fedpkg build
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
bodhi updates new --user zdohnal --type enhancement --notes "The newest \
|
bodhi updates new --user zdohnal --type enhancement --notes "The newest upstream commit" --request testing --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}-${LASTPLFILLED}-1.${releases[@]: $release_index: 1}
|
||||||
upstream commit" --request testing --autokarma --stable-karma 3 \
|
|
||||||
--unstable-karma -3 vim-${UPSTREAMMAJOR}-${LASTPLFILLED}-1.\
|
|
||||||
${releases[@]: $release_index: 1}
|
|
||||||
let "release_index+=1"
|
|
||||||
else
|
else
|
||||||
echo "Error when building package in $branch"
|
echo "Error when building package in $branch"
|
||||||
exit 1
|
exit 1
|
||||||
@ -111,6 +107,8 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
echo "There are pending/testing updates, do not build package."
|
echo "There are pending/testing updates, do not build package."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
let "release_index+=1"
|
||||||
|
|
||||||
for branch in "${branches[@]:(1)}";
|
for branch in "${branches[@]:(1)}";
|
||||||
do
|
do
|
||||||
# switch to branch
|
# switch to branch
|
||||||
@ -143,11 +141,7 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
fedpkg build
|
fedpkg build
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if [ ${branches[@]: $branches_index: 1} != "master" ]; then
|
if [ ${branches[@]: $branches_index: 1} != "master" ]; then
|
||||||
bodhi updates new --user zdohnal --type enhancement --notes "The newest \
|
bodhi updates new --user zdohnal --type enhancement --notes "The newest upstream commit" --request testing --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}-${LASTPLFILLED}-1.${releases[@]: $release_index: 1}
|
||||||
upstream commit" --request testing --autokarma --stable-karma 3 \
|
|
||||||
--unstable-karma -3 vim-${UPSTREAMMAJOR}-${LASTPLFILLED}-1.\
|
|
||||||
${releases[@]: $release_index: 1}
|
|
||||||
let "release_index+=1"
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Error when building package for $branch"
|
echo "Error when building package for $branch"
|
||||||
@ -157,6 +151,7 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
|
|
||||||
# Increment index and cut the head of releases_regexp string
|
# Increment index and cut the head of releases_regexp string
|
||||||
let "branches_index+=1"
|
let "branches_index+=1"
|
||||||
|
let "release_index+=1"
|
||||||
releases_regexp=${releases_regexp#*|}
|
releases_regexp=${releases_regexp#*|}
|
||||||
done
|
done
|
||||||
#$debug git push
|
#$debug git push
|
||||||
|
5
vim.spec
5
vim.spec
@ -21,7 +21,7 @@ Summary: The VIM editor
|
|||||||
URL: http://www.vim.org/
|
URL: http://www.vim.org/
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: %{baseversion}.%{patchlevel}
|
Version: %{baseversion}.%{patchlevel}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Vim
|
License: Vim
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
||||||
@ -769,6 +769,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/icons/locolor/*/apps/*
|
%{_datadir}/icons/locolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 20 2017 Zdenek Dohnal <zdohnal@redhat.com> - 8.0.1127-2
|
||||||
|
- vim-update.sh - update script tried to push for previous version
|
||||||
|
|
||||||
* Tue Sep 19 2017 Karsten Hopp <karsten@redhat.com> 8.0.1127-1
|
* Tue Sep 19 2017 Karsten Hopp <karsten@redhat.com> 8.0.1127-1
|
||||||
- patchlevel 1127
|
- patchlevel 1127
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user