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 d49adb9 commit 1117be1Copy full SHA for 1117be1
update.sh
@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+VERSION=$(curl -s https://github.com/mintyphp/mintyphp/releases | grep -iA 10 'label-latest' | grep -o '"v[0-9]\+\.[0-9]\+\.[0-9]\+"')
3
+VERSION="${VERSION//\"}" # strip quote character
4
+VERSION="${VERSION//v}" # strip v character
5
+OLDVER=$(cat version.txt)
6
+echo $VERSION > version.txt
7
+sed -i "s/$OLDVER/$VERSION/g" 01-installation.md
8
+git commit -am "update latest" && git push
version.txt
@@ -0,0 +1 @@
+2.0.2
0 commit comments