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 8e36c1f commit ace2e11Copy full SHA for ace2e11
melos.yaml
@@ -41,4 +41,4 @@ scripts:
41
command:
42
version:
43
hooks:
44
- post: ./sync_version.sh
+ preCommit: ./sync_version.sh
sync_version.sh
@@ -17,6 +17,3 @@ for dir in ${packages[@]}; do
17
sed "${sed_arg[@]}" "s/^const libVersion = .*;$/const libVersion = '$version';/" "${dir}/lib/src/lib_version.dart";
18
git add "${dir}/lib/src/lib_version.dart"
19
done
20
-
21
-git commit --amend --no-edit
22
0 commit comments