parent
5efb9c9c1d
commit
aabfbd7408
@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
|
||||||
|
cvs -d:pserver:anonymous@libquicktime.cvs.sourceforge.net:/cvsroot/libquicktime login
|
||||||
|
cvs -z3 -d:pserver:anonymous@libquicktime.cvs.sourceforge.net:/cvsroot/libquicktime co -P libquicktime
|
||||||
|
cd libquicktime
|
||||||
|
git cvsimport -v
|
||||||
|
|
||||||
|
In github.com press + and new repository, choose repository name: libquicktime
|
||||||
|
without "Initialize this repository with a README" .
|
||||||
|
and run:
|
||||||
|
|
||||||
|
git remote add origin git@github.com:sergiomb2/libquicktime.git
|
||||||
|
git push -u origin master
|
||||||
|
|
||||||
|
and I got this :
|
||||||
|
https://github.com/sergiomb2/libquicktime/commits/master
|
||||||
|
|
||||||
|
and with:
|
||||||
|
git remote set-url origin ssh://sergiomb@git.code.sf.net/p/libquicktime/git
|
||||||
|
git push -u origin master
|
||||||
|
|
||||||
|
and we got :
|
||||||
|
https://sourceforge.net/p/libquicktime/git/ci/master/tree/
|
@ -0,0 +1,31 @@
|
|||||||
|
git clone https://sergiomb@git.code.sf.net/p/libquicktime/git libquicktime
|
||||||
|
version=1.2.4
|
||||||
|
tag=$version
|
||||||
|
branch=master
|
||||||
|
pushd libquicktime
|
||||||
|
git checkout $branch
|
||||||
|
git pull
|
||||||
|
#git log $tag..HEAD > ../ChangeLog
|
||||||
|
newdescrib=$(git describe --tags)
|
||||||
|
date=$(git log -1 --format=%cd --date=short | tr -d \-)
|
||||||
|
relversion=$(echo $newdescrib | sed "s/^[^-]*//; s/-/./g; s/\.g/.${date}git/")
|
||||||
|
githash=$(git rev-parse HEAD)
|
||||||
|
shorthash=$(echo $githash | cut -b -10)
|
||||||
|
popd
|
||||||
|
#git checkout libquicktime.spec
|
||||||
|
#sed -i "s|^%define vers_string .*|%define vers_string $newdescrib|" libquicktime.spec
|
||||||
|
sed -i "s|^%define rel_string .*|%define rel_string $relversion|" libquicktime.spec
|
||||||
|
sed -i "s|^%define githash .*|%define githash $githash|" libquicktime.spec
|
||||||
|
rpmdev-bumpspec -c "Update to $version$relversion from branch $branch" libquicktime.spec
|
||||||
|
spectool -g libquicktime.spec
|
||||||
|
echo Press enter to run: rfpkg new-sources libquicktime-${version}-${githash}.zip; read dummy;
|
||||||
|
rfpkg new-sources libquicktime-git-${githash}.zip
|
||||||
|
rfpkg ci -c && git show
|
||||||
|
echo Press enter to continue; read dummy;
|
||||||
|
rfpkg push && rfpkg build --nowait
|
||||||
|
echo Press enter to continue; read dummy;
|
||||||
|
git checkout f29 && git merge master && git push && rfpkg build --nowait; git checkout master
|
||||||
|
echo Press enter to continue; read dummy;
|
||||||
|
git checkout f28 && git merge master && git push && rfpkg build --nowait; git checkout master
|
||||||
|
echo Press enter to continue; read dummy;
|
||||||
|
git checkout el7 && git merge master && git push && rfpkg build --nowait; git checkout master
|
Loading…
Reference in new issue