recommend to run `git pull' before building a package on a different machine
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 3 Nov 2011 15:33:56 +0000 (15:33 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 3 Nov 2011 15:33:56 +0000 (15:33 +0000)
id-release

index cd24759..50b31cd 100755 (executable)
@@ -86,6 +86,7 @@ fi
 echo ""
 echo "# On RedHat or centos, please run the commands"
 echo "sudo date"
+echo "git pull"
 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"
@@ -99,6 +100,7 @@ echo "# on kebab run: sudo su; cd \$HOME/proj/git-tools/update-archive; update-y
 echo ""
 echo "# On debian or ubuntu, please run the commands"
 echo "sudo rm -rf deb-src"
+echo "git pull"
 echo "\$HOME/proj/git-tools/id-deb-build/mkdist.sh"
 echo "\$HOME/proj/git-tools/id-deb-build/id-mk-deb-src.sh"
 echo "sudo \$HOME/proj/git-tools/id-deb-build/id-pbuild.sh"