We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d32d97 commit b8cfc2aCopy full SHA for b8cfc2a
1 file changed
scripts/patch.sh
@@ -1,8 +1,19 @@
1
#!/bin/bash
2
3
-set -ex
+set -e
4
5
ROOT=$(git rev-parse --show-toplevel)
6
7
-vergo -project-root ${ROOT} -debug -update
8
-sumry -project-root ${ROOT} -debug -update
+vergo -project-root "${ROOT}" -debug -update
+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