From 0921e30c2085d3c782b51538a7de076a53a80d13 Mon Sep 17 00:00:00 2001 From: David Zwart Date: Fri, 14 Apr 2023 15:43:19 +0200 Subject: [PATCH] fix: squash workflow replacing JSON --- .github/workflows/release-client.yml | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-client.yml b/.github/workflows/release-client.yml index 1d03af44..a1808e43 100644 --- a/.github/workflows/release-client.yml +++ b/.github/workflows/release-client.yml @@ -46,6 +46,15 @@ jobs: - run: yarn install --immutable --immutable-cache --check-cache - run: yarn run build + # Clear fields that make installing harder + - name: Replace JSON Value + run: | + jq '.dependencies = {}' package.json > tmp.json && mv tmp.json package.json + jq '.devDependencies = {}' package.json > tmp.json && mv tmp.json package.json + - name: Output package.json + run: | + cat package.json + # Create github release - name: Create release uses: actions/create-release@v1 diff --git a/package.json b/package.json index a132293f..016f47cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fdm-monster/client", - "version": "1.0.0-rc4", + "version": "1.0.0-rc5", "private": false, "author": "David Zwart", "license": "AGPL-3.0-or-later",