Commit b61d0915 authored by André Anjos's avatar André Anjos 💬
Browse files

[ci] Set is_prerelease before using it

parent f1a72301
Pipeline #26058 passed with stages
in 5 minutes and 55 seconds
......@@ -250,6 +250,11 @@ def build(dry_run):
set_environment('LC_ALL', os.environ['LANG'], os.environ, verbose=True)
set_environment('MATPLOTLIBRC', MATPLOTLIB_RCDIR, verbose=True)
# get information about the version of the package being built
version, is_prerelease = check_version(workdir,
os.environ.get('CI_COMMIT_TAG'))
set_environment('BOB_PACKAGE_VERSION', version, verbose=True)
# setup BOB_DOCUMENTATION_SERVER environment variable (used for bob.extension
# and derived documentation building via Sphinx)
set_environment('DOCSERVER', SERVER, os.environ, verbose=True)
......@@ -258,11 +263,6 @@ def build(dry_run):
server=SERVER, intranet=True)
set_environment('BOB_DOCUMENTATION_SERVER', doc_urls, verbose=True)
# get information about the version of the package being built
version, is_prerelease = check_version(workdir,
os.environ.get('CI_COMMIT_TAG'))
set_environment('BOB_PACKAGE_VERSION', version, verbose=True)
condarc = os.path.join(prefix, 'condarc')
logger.info('Loading (this build\'s) CONDARC file from %s...', condarc)
with open(condarc, 'rb') as f:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment