Fix build script.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
db7490ffe6
commit
0651e8187d
|
@ -8,6 +8,10 @@ this notice are preserved. This file is offered as-is, without any warranty.
|
|||
|
||||
# Changelog
|
||||
|
||||
## v0.2.1 - 05/05/2021
|
||||
|
||||
* Fix an error in build script which produces corrupted metadata in `.vsix` package.
|
||||
|
||||
## v0.2.0 - 05/05/2021
|
||||
|
||||
* Add version indicator (as status bar item).
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"This file is offered as-is, without any warranty."
|
||||
],
|
||||
"name": "texinfo",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"displayName": "Texinfo Language Support",
|
||||
"description": "Texinfo language support for Visual Studio Code",
|
||||
"publisher": "cismonx",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"author": {
|
||||
"name": "CismonX",
|
||||
"email": "admin@cismon.net",
|
||||
|
|
|
@ -14,8 +14,9 @@ vsce package --baseContentUrl=$(json -f package.json repository.url)/tree
|
|||
|
||||
unzip -d $VSIX_FILE_NAME{.d,}
|
||||
cd $VSIX_FILE_NAME.d
|
||||
minify-xml --output \[Content_Types\].xml{,}
|
||||
minify-xml --output extension.vsixmanifest{,}
|
||||
MINIFY_XML_OPTIONS='--no-shorten-namespaces --no-remove-unused-namespaces --no-remove-unused-default-namespace'
|
||||
minify-xml $MINIFY_XML_OPTIONS --output \[Content_Types\].xml{,}
|
||||
minify-xml $MINIFY_XML_OPTIONS --output extension.vsixmanifest{,}
|
||||
cd extension
|
||||
# Minify JSON files.
|
||||
json -j0 -I -e "$PACKAGE_JSON_CLEANUP_JS" -f package.json
|
||||
|
|
Loading…
Reference in New Issue