Skip to content

Commit b8cfc2a

Browse files
committed
fix(build): extend patch script
1 parent 7d32d97 commit b8cfc2a

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

scripts/patch.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
#!/bin/bash
22

3-
set -ex
3+
set -e
44

55
ROOT=$(git rev-parse --show-toplevel)
66

7-
vergo -project-root ${ROOT} -debug -update
8-
sumry -project-root ${ROOT} -debug -update
7+
vergo -project-root "${ROOT}" -debug -update
8+
VERSION=$(jq -r '.version' "${ROOT}/package.json")
9+
sumry -project-root "${ROOT}" -debug -update
10+
11+
git add \
12+
"${ROOT}/package.json" \
13+
"${ROOT}/src-tauri/Cargo.toml" \
14+
"${ROOT}/src-tauri/Cargo.lock" \
15+
"${ROOT}/src-tauri/tauri.conf.json" \
16+
"${ROOT}/SUMRY.md" \
17+
"${ROOT}/archive/"
18+
19+
git commit -m "chore(updater): version bump ${VERSION}"

0 commit comments

Comments
 (0)