diff --git a/conda/conda-build.sh b/conda/conda-build.sh
index e8b21d83c594a5a3989161f2b7b1d1146d9a27d1..a38a1432ac54fd6788bdc8bfaa988bc0f56056cb 100755
--- a/conda/conda-build.sh
+++ b/conda/conda-build.sh
@@ -11,4 +11,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 export CONDARC=${DIR}/build-condarc
 echo "Using CONDARC from \`${CONDARC}'..."
 
+if [ -e ${2}/../version.txt ]; then
+  export BOB_PACKAGE_VERSION=$(cat ${2}/../version.txt)
+  echo "Setting package version to \`${BOB_PACKAGE_VERSION}'..."
+fi
+
 conda build --no-anaconda-upload --variant-config-files ${DIR}/../gitlab/conda_build_config.yaml --python=${1} ${2}