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

[build] Fix env setting

parent fc17fc52
No related branches found
No related tags found
No related merge requests found
...@@ -254,9 +254,12 @@ if __name__ == '__main__': ...@@ -254,9 +254,12 @@ if __name__ == '__main__':
pyver = os.environ['PYTHON_VERSION'] pyver = os.environ['PYTHON_VERSION']
logger.info('os.environ["%s"] = %s', 'PYTHON_VERSION', pyver) logger.info('os.environ["%s"] = %s', 'PYTHON_VERSION', pyver)
bootstrap.set_environment('DOCSERVER', bootstrap._SERVER, os.environ) bootstrap.set_environment('DOCSERVER', bootstrap._SERVER, os.environ,
bootstrap.set_environment('LANG', 'en_US.UTF-8', os.environ) verbose=True)
bootstrap.set_environment('LC_ALL', os.environ['LANG'], os.environ) bootstrap.set_environment('LANG', 'en_US.UTF-8', os.environ,
verbose=True)
bootstrap.set_environment('LC_ALL', os.environ['LANG'], os.environ,
verbose=True)
# create the build configuration # create the build configuration
conda_build_config = os.path.join(mydir, 'data', 'conda_build_config.yaml') conda_build_config = os.path.join(mydir, 'data', 'conda_build_config.yaml')
...@@ -298,8 +301,8 @@ if __name__ == '__main__': ...@@ -298,8 +301,8 @@ if __name__ == '__main__':
stable=(not is_prerelease), server=bootstrap._SERVER, intranet=True) stable=(not is_prerelease), server=bootstrap._SERVER, intranet=True)
build_number = next_build_number(condarc_options['channels'][0], name, build_number = next_build_number(condarc_options['channels'][0], name,
version, pyver) version, pyver)
os.environ['BOB_BUILD_NUMBER'] = build_number bootstrap.set_environment('BOB_BUILD_NUMBER', str(build_number),
logger.info('os.environ["%s"] = %s', 'BOB_BUILD_NUMBER', build_number) verbose=True)
# runs the build using the conda-build API # runs the build using the conda-build API
arch = osname() arch = osname()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment