We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc6dea commit 985dccbCopy full SHA for 985dccb
scripts/release.sh
@@ -0,0 +1,9 @@
1
+#!/usr/bin/env bash
2
+
3
+set -x
4
5
+# npm install prettier prettier-plugin-toml
6
+find . -maxdepth 4 -name "Cargo.toml" | xargs -P 4 npx prettier --write
7
8
+find . -type f -name 'Cargo.toml' -exec sed -i '1,5 s/^version\ =\ "'"$1"'"/version\ =\ "'"$2"'"/g' {} +
9
+find . -type f -name 'Cargo.toml' -exec sed -i 's/^quickwit-\(.*\)\ =\ {\ version\ =\ "'"$1"'"/quickwit-\1\ =\ {\ version\ =\ "'"$2"'"/g' {} +
0 commit comments