зеркало из https://github.com/microsoft/azure-cli.git
{Packaging} fix removal of networking package 2018-08-01 (#15451)
This commit is contained in:
Родитель
607f9c934f
Коммит
3de639689d
|
@ -124,7 +124,7 @@ popd
|
|||
|
||||
:: Remove unused Network SDK API versions
|
||||
pushd %BUILDING_DIR%\Lib\site-packages\azure\mgmt\network
|
||||
rmdir /s /q v2016_09_01 v2016_12_01 v2017_03_01 v2017_06_01 v2017_08_01 v2017_09_01 v2017_11_01 v2018_02_01 v2018_04_01 v2018_06_01 v2018_08_01 v2018_10_01 v2018_12_01 v2019_04_01 v2019_08_01 v2019_09_01 v2019_11_01 v2019_12_01 v2020_03_01
|
||||
rmdir /s /q v2016_09_01 v2016_12_01 v2017_03_01 v2017_06_01 v2017_08_01 v2017_09_01 v2017_11_01 v2018_02_01 v2018_04_01 v2018_06_01 v2018_10_01 v2018_12_01 v2019_04_01 v2019_08_01 v2019_09_01 v2019_11_01 v2019_12_01 v2020_03_01
|
||||
popd
|
||||
|
||||
:: Remove .py and only deploy .pyc files
|
||||
|
|
|
@ -57,7 +57,7 @@ rm %{buildroot}%{cli_lib_dir}/bin/python* %{buildroot}%{cli_lib_dir}/bin/pip*
|
|||
|
||||
# Remove unused Network SDK API versions
|
||||
pushd %{buildroot}%{cli_lib_dir}/lib/${python_version}/site-packages/azure/mgmt/network/ > /dev/null
|
||||
rm -rf v2016_09_01 v2016_12_01 v2017_03_01 v2017_06_01 v2017_08_01 v2017_09_01 v2017_11_01 v2018_02_01 v2018_04_01 v2018_06_01 v2018_08_01 v2018_10_01 v2018_12_01 v2019_04_01 v2019_08_01 v2019_09_01 v2019_11_01 v2019_12_01 v2020_03_01
|
||||
rm -rf v2016_09_01 v2016_12_01 v2017_03_01 v2017_06_01 v2017_08_01 v2017_09_01 v2017_11_01 v2018_02_01 v2018_04_01 v2018_06_01 v2018_10_01 v2018_12_01 v2019_04_01 v2019_08_01 v2019_09_01 v2019_11_01 v2019_12_01 v2020_03_01
|
||||
popd > /dev/null
|
||||
|
||||
# Set up tab completion
|
||||
|
|
Загрузка…
Ссылка в новой задаче