diff --git a/CHANGELOG.md b/CHANGELOG.md index ff48fe3..3ee4b13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). diff --git a/package-lock.json b/package-lock.json index 58995e4..7fdd0b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index df7ba0c..d8d2710 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/package.sh b/scripts/package.sh index a4884dd..99580bc 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -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