diff options
Diffstat (limited to 'release.cmd')
-rw-r--r-- | release.cmd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release.cmd b/release.cmd new file mode 100644 index 0000000..d21ed55 --- /dev/null +++ b/release.cmd @@ -0,0 +1,9 @@ +@echo off +set VER=1.0.1 + +sed -i -E "s/version>.+?</version>%VER%</" install.rdf +sed -i -E "s/version>.+?</version>%VER%</; s/download\/.+?\/github-wc-polyfill-.+?\.xpi/download\/%VER%\/github-wc-polyfill-%VER%\.xpi/" update.xml + +set XPI=github-wc-polyfill-%VER%.xpi +if exist %XPI% del %XPI% +zip -r9q %XPI% bootstrap.js icon.png install.rdf |