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 9341cfc commit eb14bf9Copy full SHA for eb14bf9
1 file changed
dev-bin/release.sh
@@ -27,7 +27,22 @@ if [ "$SHOULD_CONTINUE" != "y" ]; then
27
exit 1
28
fi
29
30
-perl -pi -e 's/(?=<version>)[^<]*/$ENV{VERSION}/' README.md
+export VERSION
31
+perl -pi -e 's/(?<=<version>)[^<]*/$ENV{VERSION}/' README.md
32
+cat README.md >> "$PAGE"
33
+
34
+if [ -n "$(git status --porcelain)" ]; then
35
+ git diff
36
37
+ read -e -p "Commit README.md changes? " SHOULD_COMMIT
38
+ if [ "$SHOULD_COMMIT" != "y" ]; then
39
+ echo "Aborting"
40
+ exit 1
41
+ fi
42
+ git add README.md
43
+ git commit -m 'update version number in README.md'
44
+fi
45
46
47
# could be combined with the primary build
48
mvn release:clean
0 commit comments