From 44f50b4ee77c45d68b4a1d0a90f7cf8ad4bb2b1e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:17:01 +0300 Subject: [PATCH] Release candidate - 2.0.0 (#982) * fix: add additional step in release build (#980) * ci: update version in package.json --------- Co-authored-by: Stepan Lavrentev <40560660+stepanLav@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/release.yaml | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b27d50836f..4e48fbad94 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -92,6 +92,15 @@ jobs: filename="${original%.*}" new="$filename"_x86_64.AppImage mv "$original" "$new" + + - name: Replace space by "-" + run: | + for file in *; do + if [ -f "$file" ]; then + new_name=$(echo "$file" | tr ' ' '-') + mv "$file" "$new_name" + fi + done - name: 🔐 Generate checksum run: | diff --git a/package.json b/package.json index 7973b5facc..36d7ee0433 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nova-spektr", "description": "Polkadot Enterprise application", - "version": "1.0.2", + "version": "2.0.0", "main": "./release/build/main.js", "license": "MIT", "author": {