From 15bfa11fe654ffb92f2b099b265cb0cadf378d89 Mon Sep 17 00:00:00 2001 From: Jianhui Harold Date: Tue, 19 Nov 2019 12:36:24 +0800 Subject: [PATCH] Hotfix azdev==0.1.5 help command's bug (#138) * Explictly add package azdev.operations.help to setup.py * Upgrade version: azdev==0.1.6 * Fix bug which go to wrong dir and omit the generated wheel file --- HISTORY.rst | 4 ++++ azdev/__init__.py | 2 +- scripts/ci/build.sh | 7 ++++--- setup.py | 2 ++ 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 96b33dd4..44c525a0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.1.6 +++++++ +* Fix bug: azdev==0.1.5 help commands' error + 0.1.5 ++++++ * `azdev extension add/remove`: Added ability to supply wildcard (*) to install all available dev extensions diff --git a/azdev/__init__.py b/azdev/__init__.py index 5dae790e..2a28bff0 100644 --- a/azdev/__init__.py +++ b/azdev/__init__.py @@ -4,4 +4,4 @@ # license information. # ----------------------------------------------------------------------------- -__VERSION__ = '0.1.5' +__VERSION__ = '0.1.6' diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 7f58cb90..424ee57b 100644 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -3,10 +3,11 @@ set -ev : "${BUILD_STAGINGDIRECTORY:?BUILD_STAGINGDIRECTORY environment variable not set}" -: "${BUILD_SOURCESDIRECTORY:="$(dirname ${BASH_SOURCE[0]})/../../.."}" +: "${BUILD_SOURCESDIRECTORY:=$(cd $(dirname $0); cd ../../; pwd)}" -cd $BUILD_SOURCESDIRECTORY +cd "${BUILD_SOURCESDIRECTORY}" echo "Build azdev" pip install -U pip setuptools wheel -python setup.py bdist_wheel sdist -d $BUILD_STAGINGDIRECTORY +python setup.py bdist_wheel -d "${BUILD_STAGINGDIRECTORY}" +python setup.py sdist -d "${BUILD_STAGINGDIRECTORY}" diff --git a/setup.py b/setup.py index 22bbd8f0..80535a87 100644 --- a/setup.py +++ b/setup.py @@ -51,6 +51,8 @@ 'azdev.config', 'azdev.operations', 'azdev.mod_templates', + 'azdev.operations.help', + 'azdev.operations.help.refdoc', 'azdev.operations.linter', 'azdev.operations.linter.rules', 'azdev.operations.tests',