Skip to content

Commit bd9d570

Browse files
committed
Display version bump when script is run
1 parent 9205c5f commit bd9d570

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

scripts/bump_major_version.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
$data = preg_replace($find, $replace, file_get_contents($filepath));
1818
file_put_contents($filepath, $data);
1919
}
20+
21+
$rightwards_arrow = json_decode('"\u2192"');
22+
echo 'Bump version: ' . $current_version . ' ' . $rightwards_arrow . ' ' . $new_version . "\n";

scripts/bump_minor_version.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
$data = preg_replace($find, $replace, file_get_contents($filepath));
1818
file_put_contents($filepath, $data);
1919
}
20+
21+
$rightwards_arrow = json_decode('"\u2192"');
22+
echo 'Bump version: ' . $current_version . ' ' . $rightwards_arrow . ' ' . $new_version . "\n";

scripts/bump_patch_version.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
$data = preg_replace($find, $replace, file_get_contents($filepath));
1818
file_put_contents($filepath, $data);
1919
}
20+
21+
$rightwards_arrow = json_decode('"\u2192"');
22+
echo 'Bump version: ' . $current_version . ' ' . $rightwards_arrow . ' ' . $new_version . "\n";

0 commit comments

Comments
 (0)