Skip to content

Commit

Permalink
packaging on hudson/jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Slootmaekers committed Jun 7, 2012
1 parent a8b1646 commit b6baefc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hudson_packages.sh
@@ -1,5 +1,5 @@
#!/bin/bash
export BRANCH=$(hg branch)
export BRANCH=$(git branch)
export PREFIX="/var/hudson/workspace/ROOT"
export OCAML_HOME=${PREFIX}/OCAML
export LIBRARY_PATH=${OCAML_HOME}/lib:${LIBRARY_PATH}
Expand All @@ -9,18 +9,19 @@ export DEB_BUILD_OPTIONS=nocheck

set -e
which ocaml
make uninstall_lib
fakeroot debian/rules clean
#fakeroot debian/rules build
fakeroot debian/rules binary

export ARTEFACTS=artefacts
mkdir -p ${ARTEFACTS}
mv ../arakoon_*_amd64.deb ${ARTEFACTS}
mv ../libarakoon-ocaml-dev_1.0-dev_amd64.deb ${ARTEFACTS}
#mv ../libarakoon-ocaml-dev_1.0-dev_amd64.deb ${ARTEFACTS}

# now the python egg part
python setup.py bdist_egg

mv dist/arakoon-${BRANCH}-py2.?.egg ${ARTEFACTS}
mv dist/arakoon-2*py2.?.egg ${ARTEFACTS}


0 comments on commit b6baefc

Please sign in to comment.