This repository was archived by the owner on May 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +11
-1
lines changed Expand file tree Collapse file tree 6 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
22current_version = 1.0.0a21
3+
34parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+))(?P<release_version>\d+)
45serialize =
56 {major}.{minor}.{patch}{release}{release_version}
Original file line number Diff line number Diff line change 33# Licensed under the MIT License. See License.txt in the project root for license information.
44# --------------------------------------------------------------------------------------------
55
6+
67__version__ = '1.0.0a21'
8+
Original file line number Diff line number Diff line change 1717from urllib .request import urlopen
1818
1919
20+
2021DOWNLOAD_URL_BASE = 'https://mssqlscripter.blob.core.windows.net/sqltoolsservice-10-12-2017/'
2122
2223# Supported platform key's must match those in mssqlscript's setup.py.
2526 'OSX_10_11_64' : DOWNLOAD_URL_BASE + 'Microsoft.SqlTools.ServiceLayer-osx-x64-netcoreapp2.0.tar.gz' ,
2627 'Windows_7_64' : DOWNLOAD_URL_BASE + 'Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip' ,
2728 'Windows_7_86' : DOWNLOAD_URL_BASE + 'Microsoft.SqlTools.ServiceLayer-win-x86-netcoreapp2.0.zip'
28- }
29+
2930
3031CURRENT_DIRECTORY = os .path .abspath (os .path .join (os .path .abspath (__file__ ), '..' ))
3132BUILD_DIRECTORY = os .path .abspath (os .path .join (CURRENT_DIRECTORY , 'build' ))
Original file line number Diff line number Diff line change 99import os
1010import platform
1111
12+
1213__version__ = '1.0.0a21'
1314
1415
16+
1517def get_executable_path ():
1618 """
1719 Find mssqltoolsservice executable relative to this package.
Original file line number Diff line number Diff line change 1212
1313# This version number is in place in two places and must be in sync with
1414# mssqlscripter's version in setup.py.
15+
1516MSSQLTOOLSSERVICE_VERSION = '1.0.0a21'
1617
18+
1719# If we have source, validate version numbers match to prevent
1820# uploading releases with mismatched versions.
1921try :
Original file line number Diff line number Diff line change 1414
1515# This version number is in place in two places and must be in sync with
1616# mssqltoolsservice's version in setup.py.
17+
1718MSSQLSCRIPTER_VERSION = '1.0.0a21'
1819
20+
1921# If we have the source, validate our setup version matches source version.
2022# This will prevent uploading releases with mismatched versions. This will
2123# also ensure mssqlscripter's version is in sync with mssqltoolsservice.
You can’t perform that action at this time.
0 commit comments