From babf0074c03d43c119f45f3dbee7f9c6ef0a4e7a Mon Sep 17 00:00:00 2001 From: lana-k Date: Wed, 20 Jul 2022 22:49:26 +0200 Subject: [PATCH] add artifact with source map #97 --- .github/workflows/main.yml | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3fd6c51..bb5cb07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,10 +24,11 @@ jobs: npm install npm run build - - name: Create archive + - name: Create archives run: | cd dist zip -9 -r dist.zip . -x "js/*.map" -x "/*.map" + zip -9 -r dist_map.zip . - name: Create Release Notes run: | @@ -39,6 +40,6 @@ jobs: - name: Create release uses: ncipollo/release-action@v1 with: - artifacts: "dist/dist.zip" + artifacts: "dist/dist.zip,dist/dist_map.zip" token: ${{ secrets.GITHUB_TOKEN }} bodyFile: "CHANGELOG.md" diff --git a/package.json b/package.json index 6c22d61..14f9163 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sqliteviz", - "version": "0.20.0", + "version": "0.21.0", "license": "Apache-2.0", "private": true, "scripts": {