File tree 7 files changed +14
-7
lines changed
7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
- current_version = 0.17.2
2
+ current_version = 0.17.3
3
3
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
4
4
serialize =
5
5
{major}.{minor}.{patch}
Original file line number Diff line number Diff line change 1
1
include LICENSE.txt
2
2
include mssqlcli/mssqltoolsservice/bin/*
3
3
include mssqlcli/mssqltoolsservice/bin/*/*
4
+ include mssqlcli/packages/mssqlliterals/sqlliterals.json
Original file line number Diff line number Diff line change @@ -80,6 +80,12 @@ def build():
80
80
utility .ROOT_DIR ,
81
81
continue_on_error = False )
82
82
83
+ # generate sdist--only run on macOS to eliminate redundant copies when published to Azure
84
+ # NOTE: macOS was arbitrarily chosen as the single OS
85
+ if sys .platform == 'darwin' :
86
+ utility .exec_command ('%s setup.py check -r -s sdist --formats=gztar' % PYTHON ,
87
+ utility .ROOT_DIR , continue_on_error = False )
88
+
83
89
# Copy back the SqlToolsService binaries for this platform.
84
90
clean_and_copy_sqltoolsservice (utility .get_current_platform ())
85
91
copy_and_rename_wheels ()
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- CLI_VERSION=0.17.2
3
+ CLI_VERSION=0.17.3
4
4
5
5
if [ -z " $1 " ]
6
6
then
Original file line number Diff line number Diff line change 11
11
%define name mssql-cli
12
12
%define release 1%{?dist }
13
13
%define time_stamp %(date +%y %m %d %H %M )
14
- %define base_version 0.17.2
14
+ %define base_version 0.17.3
15
15
%define python_dir %{_builddir }/python_env
16
16
%define python_url https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz
17
17
%define cli_lib_dir %{_libdir }/mssql-cli
Original file line number Diff line number Diff line change 1
- __version__ = '0.17.2 '
1
+ __version__ = '0.17.3 '
Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ def publish_official():
100
100
"""
101
101
Publish mssql-cli package to PyPi.
102
102
"""
103
- mssqlcli_wheel_dir = os .listdir (utility .MSSQLCLI_DIST_DIRECTORY )
103
+ mssqlcli_dist_dir = os .listdir (utility .MSSQLCLI_DIST_DIRECTORY )
104
104
# Run twine action for mssql-cli.
105
105
# Only authorized users with credentials will be able to upload this package.
106
106
# Credentials will be stored in a .pypirc file.
107
- for wheel in mssqlcli_wheel_dir :
107
+ for file_dist in mssqlcli_dist_dir :
108
108
utility .exec_command (
109
- 'twine upload {}' .format (wheel ),
109
+ 'twine upload {}' .format (file_dist ),
110
110
utility .MSSQLCLI_DIST_DIRECTORY )
111
111
112
112
You can’t perform that action at this time.
0 commit comments