From 6f559313a5abd2afaa7c22546a0b2909c7b13561 Mon Sep 17 00:00:00 2001 From: Andre Alves Garzia Date: Fri, 14 May 2021 16:43:44 +0100 Subject: [PATCH] commit before tentative release. --- zip.sh | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/zip.sh b/zip.sh index a0d3ecc3..8ede68fb 100644 --- a/zip.sh +++ b/zip.sh @@ -1,6 +1,15 @@ -#!/bin/sh -cd ./dist - -web-ext build --overwrite-dest - -cd .. +#!/bin/sh +echo adding to git +git commit -am "commit before tentative release." +rm -rf ./web-ext-artifacts +echo rebuilding web extension... +npm run clean-build +echo building web extension... +cd ./dist +web-ext build --overwrite-dest +mv ./web-ext-artifacts ../ +cd .. +echo compressing source.. +git archive -o source.zip HEAD +mv ./source.zip ./web-ext-artifacts +echo done