From: Wolfram Schneider Date: Mon, 31 Oct 2011 21:03:55 +0000 (+0000) Subject: debian & redhat bugs X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=7ad20f0f83d5abb88e2cb32d288a794020f5051c;p=git-tools-moved-to-github.git debian & redhat bugs --- diff --git a/id-release b/id-release index 1e1c650..6060817 100755 --- a/id-release +++ b/id-release @@ -57,7 +57,7 @@ fi perl -i.bak -npe "\$. == 1 && s,\(.*?\),($version)," debian/changelog # update redhat version file -perl -i.bak -npe "s,^Version: .*,Version: $version," IDMETA +perl -i.bak -npe "s,^Version: .*,Version: $version," $spec ###################################################################### echo "" @@ -74,6 +74,7 @@ fi ###################################################################### echo "" echo "# On RedHat or centos, please run the commands" +echo "sudo date" echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh" echo "sudo cp $package-$version.tar.gz /usr/src/redhat/SOURCES/" echo "sudo rpmbuild -ba $spec" @@ -88,7 +89,7 @@ echo "# On debian or ubuntu, please run the commands" echo "sudo rm -rf deb-src" echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh" echo "\$HOME/proj/git-tools/id-deb-build/id-mk-deb-src.sh" -echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh" +echo "sudo \$HOME/proj/git-tools/id-deb-build/id-pbuild.sh" echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh --upload" echo "" echo "# on kebab run: sudo su; cd \$HOME/proj/git-tools/update-archive; update-archive.sh"