# Author: Wolfram Schneider
#
# id-release - a helper script to build a release & packaging for debian + redhat
+#
+# see http://twiki.indexdata.dk/cgi-bin/twiki/view/ID/IDSoftwareRelease
# die early
set -e
######################################################################
echo ""
echo "# On RedHat or centos, please run the commands"
-echo "$HOME/proj/git-tools/id-deb-build/mkdist.sh"
+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"
-echo "$HOME/proj/git-tools/id-rpm-build/upload-rpms.sh $spec"
+echo "\$HOME/proj/git-tools/id-rpm-build/upload-rpms.sh $spec"
echo "# on kebab run update-yum-archive.sh"
+######################################################################
+echo ""
+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 "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh --upload"
+
+