Display version bump when script is run

This commit is contained in:
Zach Borboa
2019-04-29 00:13:12 -07:00
parent 9205c5fe67
commit bd9d570af4
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -17,3 +17,6 @@ foreach (array(
$data = preg_replace($find, $replace, file_get_contents($filepath)); $data = preg_replace($find, $replace, file_get_contents($filepath));
file_put_contents($filepath, $data); file_put_contents($filepath, $data);
} }
$rightwards_arrow = json_decode('"\u2192"');
echo 'Bump version: ' . $current_version . ' ' . $rightwards_arrow . ' ' . $new_version . "\n";
+3
View File
@@ -17,3 +17,6 @@ foreach (array(
$data = preg_replace($find, $replace, file_get_contents($filepath)); $data = preg_replace($find, $replace, file_get_contents($filepath));
file_put_contents($filepath, $data); file_put_contents($filepath, $data);
} }
$rightwards_arrow = json_decode('"\u2192"');
echo 'Bump version: ' . $current_version . ' ' . $rightwards_arrow . ' ' . $new_version . "\n";
+3
View File
@@ -17,3 +17,6 @@ foreach (array(
$data = preg_replace($find, $replace, file_get_contents($filepath)); $data = preg_replace($find, $replace, file_get_contents($filepath));
file_put_contents($filepath, $data); file_put_contents($filepath, $data);
} }
$rightwards_arrow = json_decode('"\u2192"');
echo 'Bump version: ' . $current_version . ' ' . $rightwards_arrow . ' ' . $new_version . "\n";