Skip to content

Commit 9a86944

Browse files
author
Elliot Boschwitz
authored
Fixed bug that enables official build when environment variable is set to anything (#389)
1 parent 57fa7ab commit 9a86944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_timestamped_version(ver):
4444
name='mssql-cli',
4545
author='Microsoft Corporation',
4646
author_email='[email protected]',
47-
version=version if os.environ.get('MSSQL_CLI_OFFICIAL_BUILD', '') \
47+
version=version if os.environ.get('MSSQL_CLI_OFFICIAL_BUILD', '').lower() == 'true' \
4848
else get_timestamped_version(version),
4949
license='BSD-3',
5050
url='https://github.com/dbcli/mssql-cli',

0 commit comments

Comments
 (0)