From 9ce5352c6c929cbea3999ab3b87060398a720526 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Thu, 9 Apr 2020 16:40:21 +0200 Subject: [PATCH] bump version and refine packaging script --- manifest.json | 2 +- package.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index c4de7c8..cdde11b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Riot KaTeX for matrix.tu-dresden.de", - "version": "1.0.1", + "version": "1.0.2", "description": "Renders formulars on matrix.tu-dresden.de chats using KaTeX.", diff --git a/package.sh b/package.sh index 23565f6..9d97b7b 100755 --- a/package.sh +++ b/package.sh @@ -1,9 +1,10 @@ #!/bin/sh npm install -mkdir katex-riot-pub +mkdir -p katex-riot-pub cp manifest.json riot-katex.js node_modules/katex/dist/katex.min.js node_modules/katex/dist/contrib/auto-render.min.js node_modules/katex/dist/katex.min.css katex-riot-pub -mkdir katex-riot-pub/fonts +mkdir -p katex-riot-pub/fonts cp -r node_modules/katex/dist/fonts/*.woff2 katex-riot-pub/fonts/ -zip -r -FS katex-riot.zip katex-riot-pub/* +cd katex-riot-pub/ +zip -r -FS ../katex-riot.zip *