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
No related branches found
No related tags found
No related merge requests found
...@@ -82,8 +82,8 @@ log_info "Using CONDARC from \`${CONDARC}'..." ...@@ -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" 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 # Exclusively for Bob packages, we also set the package version
if [ -e ${1}/../version.txt ]; then if [ -e version.txt ]; then
export BOB_PACKAGE_VERSION=$(cat ${1}/../version.txt) export BOB_PACKAGE_VERSION=$(cat version.txt)
echo "Setting package version to \`${BOB_PACKAGE_VERSION}'..." echo "Setting package version to \`${BOB_PACKAGE_VERSION}'..."
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment