Skip to content
Snippets Groups Projects
Commit 19bebe3b authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Get version.txt from current dir

parent 5aed6329
Branches
No related tags found
No related merge requests found
......@@ -82,8 +82,8 @@ log_info "Using CONDARC from \`${CONDARC}'..."
BUILD_OPTIONS="--no-anaconda-upload --skip-existing --variant-config-files ${DIR}/../gitlab/conda_build_config.yaml"
# Exclusively for Bob packages, we also set the package version
if [ -e ${1}/../version.txt ]; then
export BOB_PACKAGE_VERSION=$(cat ${1}/../version.txt)
if [ -e version.txt ]; then
export BOB_PACKAGE_VERSION=$(cat version.txt)
echo "Setting package version to \`${BOB_PACKAGE_VERSION}'..."
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment