Skip to content

Commit

Permalink
Websites: Adding metadata to support the isPreview feature (#108)
Browse files Browse the repository at this point in the history
* Updating to use the isPreview metadata for websites extension

fix extension type

index.json update

* updating index.json

* adding minversion to index.json

* Removing space b/w separators

* Adding isPreview to index.json
  • Loading branch information
panchagnula authored Apr 18, 2018
1 parent bf36aae commit 5b85700
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,12 @@
],
"webapp": [
{
"filename": "webapp-0.2.0-py2.py3-none-any.whl",
"sha256Digest": "a13151c899eabb66c3d853e9e46bcd5752f78e5a75c35eb09590f4673ac49279",
"downloadUrl": "https://github.com/panchagnula/azure-cli-extensions/raw/sisirap-extensions-whl/dist/webapp-0.2.0-py2.py3-none-any.whl",
"filename": "webapp-0.2.1-py2.py3-none-any.whl",
"sha256Digest": "fe3b28cc9cb2272a36c395ed6279b2a9f925b16877962bf2448a3fa56819bfa4",
"downloadUrl": "https://github.com/panchagnula/azure-cli-extensions/raw/sisirap-extensions-whl/dist/webapp-0.2.1-py2.py3-none-any.whl",
"metadata": {
"azext.isPreview": true,
"azext.minCliCoreVersion": "2.0.24",
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -320,7 +322,7 @@
"metadata_version": "2.0",
"name": "webapp",
"summary": "An Azure CLI Extension to manage appservice resources",
"version": "0.2.0"
"version": "0.2.1"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/azext_webapp/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"azext.minCliCoreVersion": "2.0.24",
"azext.isPreview" :true
"azext.isPreview": true
}
3 changes: 2 additions & 1 deletion src/webapp/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "0.2.0"
VERSION = "0.2.1"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand Down Expand Up @@ -36,6 +36,7 @@
author_email='sisirap@microsoft.com',
url='https://github.com/Azure/azure-cli-extensions',
classifiers=CLASSIFIERS,
package_data={'azext_webapp': ['azext_metadata.json']},
packages=find_packages(exclude=["tests"]),
install_requires=DEPENDENCIES
)

0 comments on commit 5b85700

Please sign in to comment.