Merge branch 'f26' into f27
This commit is contained in:
commit
8c0d559958
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
debug=""
|
debug=""
|
||||||
#debug="echo "
|
#debug="echo "
|
||||||
|
releases=( "f25" "f26" "f27" "master" )
|
||||||
|
releases_index=0
|
||||||
|
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
LANG=C
|
LANG=C
|
||||||
@ -13,7 +15,8 @@ if [ "x$1" == "x--force" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
DATE=`date +"%a %b %d %Y"`
|
DATE=`date +"%a %b %d %Y"`
|
||||||
fedpkg switch-branch $1
|
fedpkg switch-branch "${releases[@]: $releases_index: 1}"
|
||||||
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Error with switching branch"
|
echo "Error with switching branch"
|
||||||
@ -68,6 +71,30 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
$debug git add vim.spec README.patches
|
$debug git add vim.spec README.patches
|
||||||
$debug git commit -m "- patchlevel $LASTPL"
|
$debug git commit -m "- patchlevel $LASTPL"
|
||||||
$debug fedpkg mockbuild
|
$debug fedpkg mockbuild
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
for release in "${releases[@]:(1)}";
|
||||||
|
do
|
||||||
|
fedpkg push
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Error: fedpkg push"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fedpkg switch-branch $release
|
||||||
|
git merge "${releases[@]: $release_index: 1} <<<':x'"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Error: git merge ${releases[@]: $release_index: 1}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
let "release_index+=1"
|
||||||
|
fedpkg mockbuild
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Error: fedpkg mockbuild failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
#$debug git push
|
#$debug git push
|
||||||
#if [ $? -eq 0 ]; then
|
#if [ $? -eq 0 ]; then
|
||||||
# $debug rm -f $HOME/.koji/config
|
# $debug rm -f $HOME/.koji/config
|
||||||
|
5
vim.spec
5
vim.spec
@ -24,7 +24,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
|
||||||
@ -770,6 +770,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/icons/locolor/*/apps/*
|
%{_datadir}/icons/locolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 08 2017 Zdenek Dohnal <zdohnal@redhat.com> - 8.0.1067-2
|
||||||
|
- editing vim-update.sh to do whole update automatically
|
||||||
|
|
||||||
* Thu Sep 07 2017 Karsten Hopp <karsten@redhat.com> 8.0.1067-1
|
* Thu Sep 07 2017 Karsten Hopp <karsten@redhat.com> 8.0.1067-1
|
||||||
- patchlevel 1067
|
- patchlevel 1067
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user